O'Reilly logo
  • Nate Wittnam thinks this is interesting:

Including only imperative, object-oriented, and metaprogramming restricts us to only those paradigms directly supported by the built-in language constructs. You could further support other paradigms, like class orientation and evented programming, using the language itself as an implementation medium, but this book does not deal with those topics in depth. Before I get into the definition and details of JavaScript’s support for first-class functions, let me take a brief moment to elucidate how the other three models differ from functional programming. I’ll dig deeper into each topic throughout this book, so for now a paragraph or two on each should suffice in transition...


Cover of Functional JavaScript


Important collection consideration for functional programming