News for hackers. Stuff that matters.
Re:All Programming Philosophies Are About State by ahartmetz on Tuesday February 07, 2023 @03:55AM (#34690363)
...and it's a real shame that Haskell has to be like that. I feel like much of the, sorry, mathematical wankery, is well separable from the stuff that actually makes program behavior more predictable in the functional style. I hear that F# has some success at doing exactly that.
Re:All Programming Philosophies Are About State by quchen on Tuesday February 07, 2023 @04:42AM (#34690667)
> mathematical wankery

Some blog posts are wankery. Haskell in practice is as separate and separable from it as you want.

I learned what a mathematical monad is out of interest (after using them in practice for years), and my conclusion is that it was a huge waste of time with close to zero use for my programming in Haskell.

Re:All Programming Philosophies Are About State by tome on Tuesday February 07, 2023 @05:16AM (#34690897)
> I learned what a mathematical monad is out of interest (after using them in practice for years)

Agreed. I regret that I tried to learn what a mathematical monad was before using them, out of a belief that it would help me get started quicker with Haskell. It didn't. It made something confusing that's actually pretty simple.

Re:All Programming Philosophies Are About State by lysecret on Tuesday February 07, 2023 @07:15AM (#34691732)
Can confirm been working with F# for 2 months and I really miss the strong type system, DU and match statements when I go back to Python.