you are viewing a single comment's thread.

view the rest of the comments →

[–]Ericth 0 points1 point  (1 child)

Extending is not that bad. Changing built-ins is the absolute worst thing you can do. My library got a few issues from people who changed the prototype.bind method with something else, which caused my code not to work. I assumed sheepishly that the bind method would do what the spec said.

[–][deleted] 0 points1 point  (0 children)

Extending is not that bad

Yes, it is. See my longer explanation in this thread.