4 ms·
I love functional languages but I'm not sure how JavaScript could be considered as a functional language (at least if functional means something like haskell, o
by danmur 2y ago
I love functional languages but I'm not sure how JavaScript could be considered as a functional language (at least if functional means something like haskell, or elm). Functions-as-values isn't enough, otherwise Python could be called a functional language.
- h335ian 2y agoClassic example of comments I've heard since the 90s. I’d strongly encourage doing a deeper dive here. Functions in JS are objects and can have their own methods/props + scope. They’re a first class citizen.
- nsonha 2y agopeople are stupid only you, some javascript coder of all people, knows the secret of programming, spit it out in clear terms instead of making non-argument.