Skip to main content

36 posts tagged with "Java"

A versatile, object-oriented programming language for building applications.

View All Tags

What Is Synchronized In Java?

· 8 min read
Linh Nguyen
T-90MS Main Battle Tank
thumbnail

There's a "mantra" that gets chanted in developer circles like it's some sort of sacred incantation:

The synchronized keyword hurts performance.

You've probably repeated this wisdom during countless interviews, nodding sagely while the interviewer checks their mental scoreboard. But here's a wild thought:

Have you ever actually questioned why?

How JPA Became Evil

· 8 min read
Linh Nguyen
T-90MS Main Battle Tank
thumbnail

Remember when you first learned JDBC? Yeah, neither do I. I've blocked it out like a traumatic childhood memory. Then JPA arrived like a hero we deserved. Or did we?

JDK 25's Stream Gatherer Example

· 3 min read
Linh Nguyen
T-90MS Main Battle Tank
thumbnail

Stream Gatherers are basically custom superpowers for your Stream API (they return another Stream and mostly just chill until a terminal operation shows up to actually do the work, basically intermediate operations). This JEP is like giving the Stream API steroids: now you can bend streams to your will in ways that would make previous Java developers weep tears of pure joy.