Javascipt has a horrible object system, so people are drawn towards functional programming in Javascript, because they are searching for something modular and manageable. I guess something like that.
Name:
Anonymous2016-10-07 15:16
>>14 Also in Javascript to create private variables, you need to make use of closures. This approach generates a lot of boilerplate. Just imagine the happiness, when they find out, that there exist things like macros.
>>21 LISP can be molded to be whatever language you want. That's why everyone makes their own LISP.
People make all those languages that compile to JavaScript because JavaScript is better. It's a superior compilation target. Such as it is with LISP and macros.
Class-based programming, or more commonly class-orientation, is a style of object-oriented programming (OOP)
Name:
Anonymous2016-10-08 0:01
What the fuck is OOP then, according to the pedantic retards in this thread?
Name:
Anonymous2016-10-08 0:30
COP is a specific type of OOP. It's the Java/Sepples model, where you define a class at compile time and instantiate objects of a class at runtime. The other type of OOP is the weird prototype-based OOP that JS has.