Skip to main content

Java's Journey to Thread Safety

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

This guide is your trusty sidekick on a quest to make your Java apps behave in a polite, orderly, and thread-safe manner. We'll go from making your code so chill it doesn't even have state, to wielding mighty locking mechanisms that make sure everyone takes turns.

Java's Funny Comments In Various Libraries (Part 1)

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

Here are some of the funniest comments I've discovered while "spelunking" through Java's source code: from the JDK itself to various libraries. These gems prove that even the most serious enterprise code can't suppress the human spirit (and occasional frustration) of its creators.

Java HashMap 101

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

Ever wondered what's really happening inside a HashMap when you're casually throwing key-value pairs at it like confetti at a wedding? Let's dig in!