A few weeks ago, there was a post on Reddit, when the author asked a very interesting question, which I’m paraphrasing as “Are there any concrete examples where mutability has introduced a software bug?”. We all (hopefully) know mutable state is bad, unfortunately it’s the standard set by decades of programming. However, as hyped as functional programming is at the current era, it’s still not at large, and some principles are not well understood.