Re:Classes Are Making Me Sad
by Ghostium on Wednesday March 08, 2017 @04:34PM
(#13824035)
Maybe this could help: https://github.com/getify/You-Dont-Know-JS/blob/master/this%...
[ Parent
| on HN ]
Yeah, I always understand "how" from books like this, but not "why". Why is javascript like that?
More to the point, what is the reason for prototype-based inheritance, what is its benefit, what more can you do with it than with C++/java, where does it make life easier.