Java

63 articles
Java is often criticized as being too verbose. One aspect contributing to this characterization is the requirement to specify every type explicitly, which leads to a lot of additional noise.
Read More

Localization Changes in Java 9

 · 7 min
java.util.Locale is used to format dates, numbers, currency, and more. But with JDK 9, a few changes were introduced, leading to subtle (and sometimes not so subtle) bugs.
Read More

Nested Classes in Java

 · 6 min
OOP allows us to nest classes that are logically bound together, to increase encapsulation, for more concise and maintainable code. Here’s a quick, non-deep-dive overview of the 4 types of nested classes in Java.
Read More
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

 · 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