Java

65 articles

Java Benchmarks with JMH

 · 8 min
Almost every developer knows the phrase “premature optimization is the root of all evil”, coined by Donald Knuth in 1974. But how are we supposed to know what is worthy of being optimized?
Read More
Exception handling is a mechanism used to handle disruptive, abnormal conditions to the control flow of our programs. Let’s take a deep-dive how Java deals with them.
Read More
“Any fool can write code that a computer can understand. Good programmers write code that humans can understand.” –Martin Fowler
Read More

Formatting Strings With Java

 · 7 min
We all know String.format(...). But there are other options. Java has multiple ways of formatting, aligning, padding, and justifying Strings.
Read More
Java NIO (“non-blocking I/O”) is a great feature set for dealing with I/O operations. Introduced by Java 1.4, it was further improved in Java 7.
Read More

The JDK Ecosystem

 · 7 min
About 10 years after Java’s inception in 1996, Sun Microsystems released OpenJDK in 2007, a free and open-source implementation of Java SE. Many companies started to join as contributors.
Read More