Live data from Hacker News

I loved jQuery, and still do (2019)

withblue.ink

1–10 of 189 posts

Re: I loved jQuery, and still do (2019)

#5

jQuery is still my bread and butter for DOM manipulation and events. I've found it to be much more readable than vanilla JS.

That's 30KB over the network and 90KB of JS code in memory so that you don't need to learn about 5 standardized browser API methods that are the same in every browser going back to IE9 then. No doubt that gives you a better developer experience but I don't think your users are thanking you.

Re: I loved jQuery, and still do (2019)

#6
I'm not the biggest fan of jQuery because I have had to deal with massive tech debt created by other engineers over the years (and I'm not a frontend dev). However the Ajax API is a genuinely good tool.

Re: I loved jQuery, and still do (2019)

#7
post #5

jQuery is still my bread and butter for DOM manipulation and events. I've found it to be much more readable than vanilla JS.

That's 30KB over the network and 90KB of JS code in memory so that you don't need to learn about 5 standardized browser API methods that are the same in every browser going back to IE9 then. No doubt that gives you a better developer experience but I don't think your users are thanking you.

The internets users managed to live with this terrible 30k burden in the late 2000's when it was the only choice. I think probably in 2021 when 30kb is a rounding error on page sizes they can also probably manage it.

Re: I loved jQuery, and still do (2019)

#8
post #5

jQuery is still my bread and butter for DOM manipulation and events. I've found it to be much more readable than vanilla JS.

That's 30KB over the network and 90KB of JS code in memory so that you don't need to learn about 5 standardized browser API methods that are the same in every browser going back to IE9 then. No doubt that gives you a better developer experience but I don't think your users are thanking you.

I don’t follow. Is the implication here that users can identify an experience difference cause by a 30KB over-the-wire asset, or more, a 90KB in memory one? I know I certainly wouldn’t claim to have that ability myself even on low quality networks.
Post reply on HN