kb 09.12.2011 22:23 c8541125

Золотые слова из обсуждения предыдущей новости http://news.ycombinator.com/item?id=3333...

One rule to live by:

Never use 3rd party javascript

In the 15-odd years I've been doing client-side web development, I've seen precisely one piece of script on the internet that worked as advertised and was durable enough to consider including in one my projects. That exception to the rule is jQuery itself.

jQuery plugins, however, exemplify that golden rule. Every time I've tried to use one (being a hopeless optimist and breaking my own rule), I've been bitten hard and ended up either rewriting it from scratch or spending more time trying to get it to work in a reliable manner than it would have taken to rewrite it from scratch.

I have no idea why this has to be the case, but it is. Javascript you find on the internet is worse than worthless. As such, while it's a shame they lost their plugin site, we're all probably a little better off for having to write our own stuff for a while.

1. 238328 10.12.2011 08:45 >>>

воруйубивай

Do you really want to delete ?