5 ms·
> Atoms: very popular. Usually what people reach for, perhaps overly so. Having written Clojure professionally, and then moved on to Java (not intentionally, j
by wtetzner 6y ago
> Atoms: very popular. Usually what people reach for, perhaps overly so.
Having written Clojure professionally, and then moved on to Java (not intentionally, just kinda happened), I find myself using the same pattern in Java. AtomicReference + pcollections, along with Lombok's @Value is enough to get some pretty Clojurey concurrency patterns in Java.