John Resig - Simple JavaScript Inheritance

John Resig - Simple JavaScript Inheritance

When your “simple” 25-line script requires two pages of careful documentation explaining all the nuances and potential pitfalls one can make in just trying to read it, you’re doing it wrong. Either your language is too complicated, or you’re trying to be too “clever” in your use of it.