Re:Learn You a Haskell for Great Good
by nbouscal on Friday May 10, 2013 @11:05PM
(#5689578)
Functional programming is really more than first-class functions. A lot of languages have support for first-class functions (including Ruby's procs) that are not really functional languages. Functional (like all paradigms) is a bit nebulous, but to really be a functional language I would expect to see immutability as a default assumption, and I would expect to see only expressions, no statements. That latter expectation is really what gives functional programming its distinctive style. When everything returns a value, chaining together functions as transformations on data simply becomes the natural way to program.
[ Parent
| on HN ]
There are no comments on this comment yet.