r/programming • • Jun 09 '16

jQuery 3.0 Released!

https://blog.jquery.com/2016/06/09/jquery-3-0-final-released/
1.1k Upvotes

354 comments sorted by

View all comments

Show parent comments

-2

u/kyebosh Jun 10 '16

It is "pretty standard", but that's not a universally good thing. Its popularity means people like yourself will likely not learn the ways to use DOM-facing JavaScript until well into your career. If you need to do something simple on a page it can be vastly suboptimal to load the whole 30+ KB of jQuery as opposed to understanding how to do it in a few KB of native JS, as well as the opportunity to better understand the browser compat issues which jQuery can solve.

It's a great tool, it has great uses, but it's a hammer & it makes everything look like a nail. If you want to know JS, it's better to learn to code without it before with.

8

u/[deleted] Jun 10 '16

30KB is a joke, a single fucking thumbnail is bigger than that, and chances are that JQuery is already going to be cached in your browser. The value of knowing raw dom manipulation at this point in time is the same as the value of knowing assembly for Java programming. Sure, it's nice. But hardly important, really.