3 ms·
> If that's all that is required for a language to be considered functional, then nearly every modern programming language is a functional language, and the ter
by saraid216 13y ago
> If that's all that is required for a language to be considered functional, then nearly every modern programming language is a functional language, and the term becomes essentially meaningless. First-class functions are nothing special or unique anymore.
While I don't dispute the conclusion, this particular justification is worthless. You don't restrict the application of a term based on whether or not it'll become worthless due to over-application. IF functional programming is defined as "a language with first-class functions", then if "nearly every modern Plang has first-class functions" then nearly every modern Plang is functional.
That first IF isn't true, as the rest of your comment demonstrates, but term over-saturation is not why Javascript isn't functional.
- PuercoPop 13y agoExcept, as far as I know, a functional language is one that doesn't violate referential transparency. But then again I may be waaaay off base.