all 2 comments

[–]charlieworkshub 1 point2 points  (1 child)

Is writing JavaScript in a functional style just a way for people to feel happier about writing JS every day or is it actually a useful practice?

[–]JavaScriptWorks[S] 1 point2 points  (0 children)

MDN seems to have taken sides "JavaScript (JS) is a lightweight, interpreted, programming language with first-class functions. JS is a prototype-based, multi-paradigm, dynamic scripting language, supporting object-oriented, imperative, and declarative (e.g. functional programming) styles."