News for hackers. Stuff that matters.
Re:God Writes Haskell by mrkeen on Thursday September 07, 2023 @03:41AM (#37415864)
Dumb, but it's fun hearing it from the other side.

If you ever make a "Haskell is bad because it doesn't use state but the real world uses state" argument, this is what you sound like.

Re:God Writes Haskell by PartiallyTyped on Thursday September 07, 2023 @03:45AM (#37415884)
I mean ... state monad?
Re:God Writes Haskell by mrkeen on Thursday September 07, 2023 @04:23AM (#37416143)
Right?

Even if you wanted to be pedantic and say the state monad is only 'simulated' state, you've still got ST, IO, and the glorious, glorious STM. Not to mention the purity and type-system that lets these things flourish, while other language designers try to implement STM and give up on it.

Re:God Writes Haskell by nirimda on Thursday September 07, 2023 @07:54AM (#37417621)
We can keep going. I keep my state in postgres when I'm using Haskell, and I keep my state in mysql when I'm using PHP. It really is a very strange argument.