Ben Evans revisits his take on Java's Missing Features from 2015 and compares how the language has evolved since then compared to his observations from the time. (more…)
Read more »
java.util.concurrent.ArrayBlockingQueue (j.u.c.ArrayBlockingQueue from here on) provides an elegant solution to the classic producer-consumer problem. To understand its internals, the post implements the data structure from-scratch and step-by-step, using... (more…)
Read more »
The Loom project has been under work for several years now. Preview versions are available, that give an idea of what it will bring to the Java platform. We ... (more…)
Read more »
Let's look at the newer, slightly modified syntax for switch, called Switch Expressions. With it, case distinctions can be formulated much more elegantly than before. (more…)
Read more »
This section gives a short history of Java’s evolution. It is based on various published sources (most importantly an interview with Java’s creators in the July 1995 issue of Sun World’s online magazine). Java goes back to 1991, when a group of Sun engine... (more…)
Read more »