Java

48 articles
Dealing with Exceptions in Java is a must, and functional programming doesn’t make it easier. Let’s take a look at the available options.
Read More

Java Benchmarks with JMH

 · 7 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