What's the Point of Learning Functional Programming?

29 points by abhin4v


david_chisnall

There’s one other big benefit that I think this article touches on but I’d highlight a bit more: type-level reasoning.

Idiomatic Haskell tends to express constraints on the behaviour of the program in terms of types. Learning to think that way will make you write much better C++ or Rust. You will write code that has a much higher chance of working if it compiles (and, conversely, fails to compile if it is buggy).

This is one of the most important skills in programming and one that you cannot easily teach in Python.