top | item 39724184

(no title)

ildjarn | 1 year ago

> Functional programming means functions are first class citizens and can be constructed on the fly.

FP is much more than this one language feature.

discuss

order

anon291|1 year ago

Yes, the field of FP is much more, but the core of FP is that. A language doesn't become non-FP simply because it has some imperative abilities, or logic programming builtin, etc.

ildjarn|1 year ago

I’m arguing it’s not FP when you take an OOP language and bolt on lambdas. Lambdas are necessary but not sufficient.

You need expression orientation, immutability by default, persistent collections in the standard library, some way to handle monadic code, etc…