3 ms·
...and the ability to treat I/O computations (these "descriptions" of I/O to perform) as plain values in the code is the reasons Haskell is sometimes affectiona
by kqr 7y ago
...and the ability to treat I/O computations (these "descriptions" of I/O to perform) as plain values in the code is the reasons Haskell is sometimes affectionately known as "the best imperative language".
It's not that you couldn't do the same thing in Python, it's that you get more fine and precise control over what happens by default in Haskell.