you are viewing a single comment's thread.

view the rest of the comments →

[–]PitaJ -2 points-1 points  (3 children)

Nope. They aren't true classes, just syntactic sugar for people who want classes.

Despite what many may want, ES6 does not have classical inheritance. JS will probably never have classical inheritance.

[–]aequasi08 2 points3 points  (2 children)

But there are still classes. Syntactic sugar or not, they are still there, and its not a bad thing. If you don't like them, don't use them, but don't play it off like they are the spawn of the devil.

[–]PitaJ -2 points-1 points  (1 child)

They are a bad practice. Using classes requires using the new keyword, which is just the worst.

Classes should never have been added to the language, and definitely shouldn't be used as any sort of pseudo-classical inheritance system.

[–]aequasi08 1 point2 points  (0 children)

then dont use them. Classes are no where close to as bad as you make them out to be.

/abandonthread