Oddbean new post about | logout
 @90991173 @f8dfc7e8

you can defer jQuery loading, but nobody does that 
 @ddc3da8f @f8dfc7e8 well if someone is using jquery as building block that he can’t defer while he needs to use it from beginning. Not mentioning the mess with shadow DOM. 
 @90991173 @f8dfc7e8

everything can be deferred, it's just laziness 
 @90991173 @f8dfc7e8

I have moved jQuery to cdn.gscloud.cz so it's at least closer to the customer (Cf Pages) 
 @ddc3da8f @90991173
The issue I've always had with jQuery is that people use it for things that take more time to do in jQuery then they do in pure JavaScript, CSS, and HTML.  Like, I've been baffled for years by people using it for things like expanding / collapsing divs (JS) dropdown menus (CSS) and input forms (HTML).  Finally, W3C has made this push of overstating the additions they've made the things like HTML5, pushing people to learn how to do it the normal way, and now these people are finally using the stuff that's been in there all along thinking these are new features that replace jQuery.

I have no idea why jQuery got so popular in the first place, but I can only assume it's a combination of good marketing and bad teaching. 
 @f8dfc7e8 @90991173

because $('#fuck').click(function(){}); is so easy to write
or $('#fuck').toggleClass('shit');