DEV Community

Discussion on: Any suggestions for books to learn Functional Programming Paradigm

 
buntine profile image
Andrew Buntine

We are talking in circles here. Your quote is saying nothing of relevance. The ability to furnish a function with properties and methods that operate upon them does not matter at all.

Let me make this really clear.

You say: "methods [Functions] are not prime [first-class] citizens"

You are wrong.

Functions in Javascript conform to all of the requirements that make a construct first-class in a programming language.

If you still want to disagree this with, please provide a concrete example demonstrating how functions are not first-class in Javascript.