474
stop
(sh.itjust.works)
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Taking a wild guess at the source of the confusion, I should be clear that I love Haskell. It's great for a lot of what I personally end up coding, namely math things that are non-heavy by computer standards but way too heavy to solve by hand. This isn't naysaying.
To be clear, I was introducing two new examples where I think this problem would come up. It could be that I'm missing something, but I've had this exchange a few times and been unimpressed by the solutions offered. The
IO
in those cases could get pretty spaghetti-ish. At that point, why not just use a state?Like, using a list, which is a monad, you could code a Turing machine, and it could have a tape specifying literally anything. I can't imagine that one would ever come up, though.
It certainly is, haha. If it's heavy Python is just calling Fortran, C or Rust anyway.