SupportWriter space ↗
REFERENCE LIBRARY

References from other publishers

Republished articles with source attribution. This collection is separate from Diary Coding’s original guides and does not display ads.

Read original guides → · Editorial policy

FOR YOUR CURIOSITY

Latest notes.

CONCURRENCY / NOTES</>↗
Concurrency11 Nov 2025

How do I use the Java Util Concurrent Flow API?

The java.util.concurrent.Flow API, introduced in Java 9, is a low-level implementation of the Reactive Streams specification, providing an asynchronous, non-blocking framework for handling streams of data. It allows you to build reactive systems that support backpressure to handle large or variable amounts of data more efficiently. Here’s a quick guide on how to use java.util.concurrent.Flow […]

Wayan · 5 min read
JAVA 25 / NOTES</>↗
Java 2510 Nov 2025

How to use the new @ImplicitlyDeclared annotation in Java 25

The @ImplicitlyDeclared annotation in Java 25 introduces a way to explicitly mark certain declarations as inherently implied by the compiler. It is primarily targeted to pave the way for future enhancements in the Java language, such as compiler-backed, implicit declarations. Purpose of @ImplicitlyDeclared This annotation: Identifies elements (like methods, fields, or constructors) implicitly added for […]

Wayan · 3 min read
BASIC / NOTES</>↗
Basic08 Nov 2025

How to Simplify Control Flow with Enhanced Switch Statements in Java 25

Java 25 introduced Enhanced switch Statements to simplify control flow, making type checks, value comparisons, and complex branching cleaner and more expressive. Here’s a guide to simplify control flow using this feature: Key Enhancements in switch Type Pattern Matching: Directly match and work with variable types in patterns. Guarded Patterns: Add conditions (when) to patterns […]

Wayan · 4 min read
BASIC / NOTES</>↗
Basic07 Nov 2025

How to Write Cleaner Code with String Templates in Java

String templates in Java 25 introduce a cleaner, more efficient, and safer way to work with strings. They allow embedding expressions inside strings without relying on concatenation or external APIs. Using string templates can lead to code that is easier to understand and maintain. Here’s how you can write cleaner and more efficient code with […]

Wayan · 4 min read
BASIC / NOTES</>↗
Basic06 Nov 2025

How to use record patterns with instanceof in Java 25

Java 25 introduces improvements such as record patterns with instanceof, which allow more concise and expressive type matching and data extraction in one step. Here’s a guide on how to use them: What are record patterns? A record pattern enables matching and extracting components of a record class, which is essentially a class with immutable […]

Wayan · 3 min read
BASIC / NOTES</>↗
Basic06 Nov 2025

How to use improved pattern matching for switch in Java 25

Java 25 introduces an improved feature for pattern matching with switch, further streamlining type checks, instance checks, and value comparisons. Here’s how you can effectively use the enhanced pattern matching for switch in Java 25: Key Features Exhaustive Matching: Ensures that all possible branches are accounted for. Simplification of Null Handling: Handles null conditions without […]

Wayan · 3 min read
✳

Knowledge grows when shared.

Stay curious. There is always something new to learn.

Explore notes ↗
Putu Adi Guna Permana
ABOUT THE AUTHOR

Dr (C). Ir. Putu Adi Guna Permana, S.Kom., M.Kom., IPM., ASEAN Eng.

Writer and founder of Diary Coding — sharing notes, tutorials, and experiences about programming for anyone who wants to keep learning.