JavaScript classes are not classes in the traditional OOP sense
Internals aside there's little difference in how they behave in JavaScript and C# for example.
I'm not sure I understand what you mean.
JavaScript folks freely mix the words OOP and Inheritance when 1) They really know little about OOP and 2) They really mean Protypal Inheritance which is not the traditional meaning of the word Inheritance.
Debatable.
If you are seeing anyone favor inheritance over composition then you are working with junior level developers.
There is no problem with using the class construct in JavaScript.
The whole point of my replies. Plenty of folks will prefer the simplicity of using the Class over (PI). I'm one of them
I'm not really defensive, just willing to challenge absolute statements that are not universally true.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Internals aside there's little difference in how they behave in JavaScript and C# for example.
JavaScript folks freely mix the words OOP and Inheritance when 1) They really know little about OOP and 2) They really mean Protypal Inheritance which is not the traditional meaning of the word Inheritance.
If you are seeing anyone favor inheritance over composition then you are working with junior level developers.
The whole point of my replies. Plenty of folks will prefer the simplicity of using the Class over (PI). I'm one of them
I'm not really defensive, just willing to challenge absolute statements that are not universally true.