News for hackers. Stuff that matters.
Re:You might not need jQuery by smrtinsert on Thursday January 30, 2014 @05:18PM (#7153723)
jquery is really just an abstraction for dom, it is not an api for application building. When I have to use the dom, I definitely turn to it. I'm not sure why people object to having additional helper functions in jquery for a measely 100k or so.

You don't have to use plugins you know, its not a law.

Re:You might not need jQuery by Sssnake on Thursday January 30, 2014 @06:45PM (#7154210)
Because 100k is not measly, it is huge. And jquery is hundreds of times slower than the perfectly fine native methods.
Re:You might not need jQuery by talmand on Friday January 31, 2014 @10:37AM (#7157164)
Whether 100k is huge or not depends on the project's requirements. In some cases it's perfectly fine, in other cases it's a problem. Such a broad statement cannot be supported.

Much the same; even if jQuery is that much slower it can sometimes provide something that overcomes the slowness factor. It varies from project to project. Especially if the project scope practically requires you to rewrite jQuery from scratch, you might as well use it.

Re:You might not need jQuery by Sssnake on Friday January 31, 2014 @07:44PM (#7160293)
100k is huge, period. Whether or not a huge dependency is acceptable depends on the project. Yes, we know it depends on the project, that was the point of the site. The whole point is "if you are making a library, and don't really need jquery, please don't force that extra dependency on users of your library".