My writing.

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

Articles.

43–48 of 148 articles
react

useState vs useRef in React

A concise comparison of the useState and useRef hooks in React.js, highlighting key differences in re-rendering, mutability, and common use cases.

5 views 1 like 0 shares
java

How the Cached Thread Pool Executor Works in Java

How Executors.newCachedThreadPool creates, reuses, and retires threads for short-lived tasks.

15 views 1 like 0 shares
java

Java Stream API Methods

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

19 views 2 likes 0 shares
java

CompletableFuture in Java

Common questions regarding CompletableFuture in Java

4 views 1 like 0 shares
java

Covariant Arrays in Java

What they are & the pitfalls of relying on them

3 views 1 like 0 shares
java

The Open-Closed Principle in Java

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

9 views 1 like 0 shares