It seems like it’s never been easier to start writing a simple program that can be turned into a more advanced one as development progresses. Let’s explore possibilities delivered by JDK 23 release. From the early days, Java may have …
-
Exploring New Features in JDK 23: Gatherers upgrades pipeline design pattern JEP-473
Source-code flexibility goes hand in hand with maintainability and testability. The Java language benefits not only from its maturity but also from the fact that it is strongly typed. This may initiate possible discussion topics, as each defined variable requires …
-
Exploring New Features in JDK 23: Builder Pattern Simplicity with JEP-455 Primitive Types in Patterns, instanceof, and switch (Preview)
The runtime initiation of any program requires allocating a given memory and after many additional steps the first object could be created. In a previous post, we explored how to improve maintainability of complex creation processes by using the factory …
-
Exploring New Features in JDK 23: Null object pattern to avoid null pointer exception with JEP-455
The newest release JDK 23 [2] comes with a neat extension to pattern matching for switch and instanceof statements, JEP-455: Primitive Types in Patterns, instanceof and switch [1]. While the introduction of pattern matching can be considered a crucial element …
-
Exploring New Features in JDK 23: Factory Pattern with Flexible Constructor Bodies with JEP-482
Since the introduction of the new JDK release cadence, we have seen an incredible amount of new enhancements added to each JDK cycle, kicking the Java platform back on track compared to other languages. Source code maintainability plays a very …
-
Resilience in Coding: Miro Wengner on Thriving in the Software Industry
In this insightful discussion, we sit down with Miro Wengner, an accomplished software engineer with a deep-rooted affinity for Java. Miro shares his professional journey, highlights the significant challenges in the field, and reflects on the key moments that shaped …
-
Rolling Binary Trees: A Guide to Common Design Patterns in Java
In this article, we introduce a linear-time algorithm for rolling binary trees and implement it in Java, by utilizing common design patterns.
-
Book Review: “API Design Patterns”
This review is about API Design Patterns by JJ Geewax from Manning. Check it out and if you’ve read it too, what did you think?
-
Book review: “Practical Design Patterns for Java Developers”
Hone your software design skills by implementing popular design patterns in Java.
-
42 Practical Java Design Patterns: Builder and More
The aim of the article is to introduce my newly published book “Practical Design Pattern for Java Developers”.
-
Examining the Switch Statement and the Factory Pattern in Three JVM Languages
Let’s examine a program selection control mechanism, for a value, expression or variable type to influence program flow execution, for Switch.