Java 13 Switch Expressions

Java 12 introduces switch expressions. Together with a new lambda-style arrow syntax, this makes switch more expressive and less error-prone. Read more

Similar

Object Oriented Design Principles in Java

Introduction Design principles are generalized pieces of advice or proven good coding practices that are used as rules of thumb when making design choices. They're a similar concept to design patterns, the main difference being that design principles are ... (more…)

Read more »

How ZGC allocates memory for the Java heap

This post explores how ZGC, one of the garbage collectors in the OpenJDK, allocates memory for the Java heap, focusing on enhancements introduced in JDK-8350441 with the Mapped Cache. A garbage collector does much more than just collect garbage - and that... (more…)

Read more »