News for hackers. Stuff that matters.
Re:How JavaScript works: 3 types of polymorphism by mxxx on Sunday May 09, 2021 @05:29PM (#27099987)
In my personal experience, the class syntax specifically gets used very infrequently. Proper prototypal inheritance was more common “back in the day” but my own preference and I _think_ what a lot of others are leaning towards these days is composition.

Learn to use both and make up your own mind!

There are no comments on this comment yet.