News for hackers. Stuff that matters.
Re:John Resig: JavaScript as a First Language by latchkey on Wednesday December 21, 2011 @08:55PM (#3379994)
I'm ok with missing out on the prototype paradigm. To me, it is a wart for JavaScript. There has been a ton of discussion on why libraries like DateJS, which pollute the Date prototype, are bad.

http://stackoverflow.com/questions/4823682/javascript-namesp...

Re:John Resig: JavaScript as a First Language by wwweston on Thursday December 22, 2011 @03:23AM (#3380867)
The discussion you're linking to doesn't appear to discuss either general problems with the prototype paradigm or specific problems with adding properties/methods to the Date prototype.

The closest it seems to come is a warning about not trying to modify the prototype of an object through its __proto__ property (or, I suppose, .getPrototypeOf), which isn't the same thing.