Table of Contents 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.Analyzing, Parsing and understanding dataConclusionReferences …
-
Exploring New Features in JDK 23: Gatherers upgrades pipeline design pattern JEP-473
Table of Contents Expanding intermediate functions with JEP-461Collection of build-in gatherersConclusionReferences 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. …
-
Exploring New Features in JDK 23: Builder Pattern Simplicity with JEP-455 Primitive Types in Patterns, instanceof, and switch (Preview)
Table of Contents Building a vehicleConclusionReferences 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 …
-
Exploring New Features in JDK 23: Null object pattern to avoid null pointer exception with JEP-455
Table of Contents Functional nature of the code and nullConclusionReferences 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 …
-
Exploring New Features in JDK 23: Factory Pattern with Flexible Constructor Bodies with JEP-482
Table of Contents Creational design pattern factory reviewSimplifying factory method with JEP-482ConclusionResources 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 …
-
Resilience in Coding: Miro Wengner on Thriving in the Software Industry
Table of Contents Profile 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 …
-
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.