> Needing a PhD in category theory to produce a side effect will no doubt make some other paradigm seem appealing in the future.
I think it’s only really Haskell (and perhaps languages like Idris) that’s super strict on side effects.
In Rust it’s a simple mut annotation, and perhaps a mutex (and you’ll want that in C too of course) if you’re working across threads.