DEV Community

Discussion on: A deep dive into ES6 Classes

 
mustapha profile image
Mustapha Aouas • Edited

I talked about the paradigms because the two snippets in your comment were in two different paradigms.

There are so many points to rectify in what you said in my opinion, but they are outside the scope of this post (this post tries to answer the how, not the why not the pros not the cons).
But if I may, all of the questions you asked you can find valid answers to. Maybe take some time to research Immutability in OOP (with classes) as you seem to have some big misconceptions.

from your point of view using prototype is more complex than just using classes, which is true

If we agree on that then I will leave it there.

Have a nice day!

Some comments have been hidden by the post's author - find out more