A small corner of the internet
Thoughts, stories, and things worth remembering.
- Engineering
Everything About Threads in Java
Threads explained from first principles: why they exist, race conditions, deadlocks, thread pools, and practical patterns to avoid concurrency bugs in production.
- Engineering
Java: Pass by Value or Pass by Reference?
Java is pass-by-value only. This post explains why that design decision exists, what bugs arise from misunderstanding it, and practical patterns to avoid unintended side effects in production.
- Engineering
How HashMap Works Internally
A deep-dive into HashMap's internals: why each component exists, what bugs arise from misunderstanding it, and how the design decisions affect production code.