DEV Community


Discussion on: Unpopular opinions

ogaston profile image
Omar Gaston Chalas

Classes are the worst thing has ever happened to Javascript

cullophid profile image
Andreas Møller

That is a very popular opinion.

austindd profile image

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...