3 ms·
I just avoid classes in js
by peter-m80 3y ago
I just avoid classes in js
- nailer 3y agoIndeed. They’re very much implemented for people that wanted nineties style OO and who don’t get scopes/closures.
- pjmlp 3y ago> Self is an object-oriented programming language based on the concept of prototypes. -- https://en.wikipedia.org/wiki/Self_(programming_language) https://en.wikipedia.org/wiki/Self_(programming_language) > JavaScript is a high-level, often just-in-time compiled language that conforms to the ECMAScript standard. It has dynamic typing, prototype-based object-orientation... -- https://en.wikipedia.org/wiki/JavaScript https://en.wikipedia.org/wiki/JavaScript
- nailer 3y agoYes.