mathstodon.xyz is one of the many independent Mastodon servers you can use to participate in the fediverse.
A Mastodon instance for maths people. We have LaTeX rendering in the web interface!

Server stats:

2.9K
active users

So it's 2010. The Haskell users are telling me, state is bad. State creates headaches. Instead of having mutable state in your app, pass around values to and from functions. I ignore this.

It's 2024. I now use Rust, which makes mutable state real hard. I decide to finally take the Haskeller advice. And… I find I'm still having state headaches, but now the state is wiggling spaghetti moving all over my code instead of being in one single variable where I can easily keep an eye on it

Jencel Panic

@mcc Regarding the state, honestly, part of the thing is just to get used to having everything as argument. In the world (where I had the misfortune of working) they added a special mechanism to prevent the need to pass the state manually, which IMO worked way worse than just passing the state manually.