Re:‘This’ in JavaScript
by Raphmedia on Thursday August 03, 2017 @09:37AM
(#14919411)
Was there ever any issues with prototype-based inheritance? I've always assumed that they added classes simply because of stubborn classical-based programmers who couldn't bother to learn JavaScript correctly.
[ Parent
| on HN ]
Re:‘This’ in JavaScript
by spinningarrow on Thursday August 03, 2017 @10:50AM
(#14920046)
That was my impression as well, especially since the class-ish syntactic sugar doesn’t improve performance either.