Re:Hello Haskell, Goodbye Scala
by kyllo on Tuesday January 22, 2013 @09:30AM
(#5097220)
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.
[ Parent
| on HN ]
And hope that your imperative language supports tail call optimization? ;)
Ah. 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.