Shorter posts, language-specific quirks, and curiosities worth writing down.
Java's WeakHashMap automatically drops entries when their keys become unreachable. This post unpacks how that works, when it's the right tool, and where it quietly misbehaves — including the trap of values that reference their own keys.