News for hackers. Stuff that matters.
Re:Refactoring Legacy JavaScript Code to Use Classes by paulddraper on Tuesday March 07, 2017 @03:37PM (#13814588)
> By embracing prototypal inheritance you will write cleaner code with fewer errors.

Do you have a concrete example in mind? Code sample A is cleaner and has fewer errors than its class equivalent B?

There are no comments on this comment yet.