Tag: java
All the articles with the tag "java".
-
Software design
Abstract Class vs Interface: The Architecture of Intent
Mastering Java's dual inheritance system in 2026-abstract classes as blueprints, interfaces as contracts. Understanding when to use each in modern Java's complete type system.
9 min read
-
Software design
Modern Java Error Handling: Scoped Values, Structured Concurrency and Result
Try-with-resources and multi-catch, Scoped Values for request context, structured concurrency with the Java 25 API, the Result type, CompletableFuture, and what exceptions cost.
4 min read
-
Software design
Java Exceptions: How They Work and How to Design Them
What the JVM does when an exception is thrown, checked against unchecked, the Throwable hierarchy, custom exceptions and translation, the seven deadly sins of exception handling, and a short manifesto.
5 min read
-
JVM internals
Garbage Collection in Containers, and What Comes Next
Container-aware heap sizing, cloud settings, a cheat sheet of GC flags, and where Project Leyden takes JVM memory management.
3 min read