My writing.

Java internals, framework quirks, and the occasional Linux command. Explanations and examples for the next time you’re figuring something out.

Articles.

25–30 of 128 articles
Java

Java Stream API Methods

One-line reference for every method on java.util.stream.Stream, including BaseStream and Java 24 gather.

8 views 1 like 0 shares
Java

CompletableFuture in Java

Common questions regarding CompletableFuture in Java

2 views 1 like 0 shares
Java

Covariant Arrays in Java

What they are & the pitfalls of relying on them

1 view 1 like 0 shares
Java

The Open-Closed Principle in Java

What it is & how to implement it in real-world use cases

8 views 1 like 0 shares
Java

Why one should prefer class hierarchies over tagged classes in Java?

How class hierarchies can replace tag fields and scattered conditional logic with polymorphism.

7 views 2 likes 0 shares
Java

Why one should use Varargs judiciously in Java?

Balance the convenience of varargs with array allocation costs and generic type-safety concerns.

3 views 1 like 0 shares