Most cited

Posts that commenters keep linking to, ranked by how many different people have cited them in Hacker News comments. 104 posts.

Software Engineering
2010
31

Prototypal Inheritance

Five years ago I wrote Classical Inheritance in JavaScript ( Chinese Italian Japanese ) . It showed that JavaScript is a class-free, prototypal language, and that it has sufficient expressive power to simulate a classical system. My programming style has evolved since then, as any good programmer's should. I have…

42

John Resig - Simple JavaScript Inheritance

I’ve been doing a lot of work, lately, with JavaScript inheritance – namely for my work-in-progress JavaScript book – and in doing so have examined a number of different JavaScript classical-inheritance-simulating techniques. Out of all the ones that I’ve looked at I think my favorites were the implementations…