Towards a Better AtomicReference with Scala | Hacker News Reader