Wave-Particle Duality of Mutable Data Structures

We all heard about the problems with mutable data structures, but it wasn’t until today when I made one of the biggest mistakes a noob programmer can make, to drive the problem with mutable data structures home. I’ll give you a simplified version of what happened by creating a toy…