loading...

re: What do you dislike about your favorite language? VIEW POST

TOP OF THREAD FULL DISCUSSION
re: JS is my favourite but I really dislike the class syntax that was introduced in ES6. The prototype chain is easy to understand and doesn’t need to ...
 

Agreed. I think class was added just to satisfy OOP programmers from other languages, and to confuse new learners.

In JS, the OOP concept is prototype-based. The class is actually just built on top of the constructor function.

code of conduct - report abuse