SupportWriter space ↗
A JOURNAL ABOUT TECHNOLOGY

Learn something new.
Write. Share.

A space to connect knowledge, one line of code a day.
Discover tutorials, ideas, and notes from a learning journey.

1967 notes & counting ↙
EDITOR’S PICK ↗
Pentesting

Planning Your First Web Application Pentest: Scope, Safety, and Evidence

Build a focused web pentest plan with clear authorization, realistic objectives, controlled testing, and evidence that developers can use.

D Putu Adi Guna Permana · 3 min read
FOR YOUR CURIOSITY

Latest notes.

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
BASIC / NOTES</>↗
Basic05 Nov 2025

How to Write Simplified Entry Points with Java 25

Java 25 introduces several advancements focusing on simplified and modernized entry points to write cleaner main methods for applications. Here’s an overview of how to leverage these improvements to write simplified entry points: Understanding Unnamed Classes and Instance Main Java 25 introduces new features that make defining the main entry point of an application more […]

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

How to Leverage Unnamed Classes and Instance Main in Java 25

In Java 25, the introduction of classless main methods and unnamed classes significantly simplifies writing small programs, scripts, and experiments. Here’s how you can leverage these features effectively: Classless Main Methods This functionality is aimed at reducing boilerplate for small Java applications. You can now define a main method directly without wrapping it in a […]

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

How to use classless main methods in Java 25

In Java 25, you can take advantage of the classless main method, allowing you to write short and simple programs without needing to wrap them in a class declaration. This feature is designed to make Java more approachable, especially for quick scripting or beginner-friendly coding introductions. How to Use Classless Main Methods Create a Java […]

Wayan · 2 min read
UTIL PACKAGE / NOTES</>↗
Util Package04 Nov 2025

How do I use Map.forEach() for concise iteration?

The Map.forEach method in Java provides a concise and elegant way to iterate over all key-value pairs in a Map. This method accepts a lambda function (or method reference), which processes each entry in the map. Here’s how you can use Map.forEach for concise iteration: Syntax: map.forEach((key, value) -> { // Your logic here }); […]

Wayan · 2 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.