3 ms·
I find that learning functional style in a language that does not enforce it, is extra difficult. If the language does not provide guard rails, then new learne
by FrustratedMonky 3y ago
I find that learning functional style in a language that does not enforce it, is extra difficult. If the language does not provide guard rails, then new learners will fall back on non-functional methods, and not even realize it.
- OkayPhysicist 3y agoI very much support this view. If you want to teach someone functional programming, you go straight to Haskell or a Lisp. They don't need to master the language or anything, but the cold shower of "There are fundamentally different paradigms in programming than those I am used to" combined with a language that will allow nothing but functional code tends to work a lot better than "Hey guys! Let's torture Java to support map/filter/reduce!"