okal . dev
Articles

Writes.

01 • Nov 12, 2025 • 2 min read

5 Java Interview Tips and Tricks

I keep seeing these in interviews and take-home assessments. Here are 5 examples with code and output.

02 • Sep 18, 2025 • 3 min read

Which loop is faster in Java? A classic for loop, an enhanced for-each, or a modern Stream?

As a recent computer engineering graduate, I often use different types of loops in my personal projects - the classic for, the enhanced for-each, and stream().forEach(). I used them interchangeably without thinking much about their performance. So, I got curious: which one is actually faster?

03 • Aug 22, 2025 • 3 min read

Why I Chose Denormalization: A Practical Lesson in System Design Trade-offs

While I was writing my project, I discovered a bottleneck. I was constantly fetching data from two tables with a JOIN, and this led me to a trade-off. Let's take a look.