DEV Community

loading...

Discussion on: Unpopular opinions

Collapse
ogaston profile image
Omar Gaston Chalas

Classes are the worst thing has ever happened to Javascript

Collapse
cullophid profile image
Andreas Møller

That is a very popular opinion.

Collapse
austindd profile image
Austin

I tend to agree. It's nice to have "class" syntax if classes are what you actually want... But a lot of old-school devs saw that and said, "Oh, I guess we can do real OOP in JS now..." And JS is just fundamentally not object-oriented in the way that C# or Java are. It's silly to force that paradigm on a language that does so much more...