3 ms·
It's a pure functional language. You can do functional programming in many languages, but Haskell enforces it by design. From what I've seen of the type system,
by schwartzworld 5y ago
It's a pure functional language. You can do functional programming in many languages, but Haskell enforces it by design. From what I've seen of the type system, it's quite nice as well.
Functional programming allows a great deal of confidence in your code,
- amelius 5y agoNote, however, that you can still write a JavaScript interpreter in Haskell, and then shoot yourself in the foot by having side-effects.
- schwartzworld 5y agoSure. A program with no side effects can't do anything but warm up the computer