3 ms·
Not to mention, functional programming forces you to grok recursion and higher-order functions. Huge side benefit of learning FP that you can also implement in
by kyllo 14y ago
Not to mention, functional programming forces you to grok recursion and higher-order functions. Huge side benefit of learning FP that you can also implement in your OOP to write more elegant methods. Never write "for int i..." again.
- danieldk 14y agoAnd hope that your imperative language supports tail call optimization? ;)
- kyllo 14y agoAh. Well, yes, you wouldn't want a call stack overflow. I am starting to realize why people who know functional languages despise Java. I first started programming in Java, but now the more FP I learn, the uglier Java gets.