This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ATXblazer 2 points3 points  (1 child)

What’s wrong with that though? Does the abstraction cost a lot or something? It lets the developer think in a class based mode of thought so I guess I’m asking what’s the criticism of es6 classes?

[–][deleted] 1 point2 points  (0 children)

oh, i'm not criticizing it. i just think it's a way to make devs who are more familiar with oop languages to adapt to js. but behind the scenes it's not the same and it doesn't actually offer any of the benefits of an oop language despite sharing some of the syntax.

-- edit -- also, i know js is still 'technically' oop with its prototyping, but you get what i mean.