My writing.
Java internals, framework quirks, and the occasional Linux command. Explanations and examples for the next time you’re figuring something out.
2 min read
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
2 min read
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
4 min read
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
2 min read
java
CompletableFuture in Java
Common questions regarding CompletableFuture in Java
4 views
1 like
0 shares
3 min read
java
Covariant Arrays in Java
What they are & the pitfalls of relying on them
3 views
1 like
0 shares
2 min read
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