News for hackers. Stuff that matters.
Re:Interview with a Pornhub web developer (2019) by wilsonrocks on Tuesday July 28, 2020 @02:49PM (#23979320)
I would use vanilla JS rather than jQuery now that most browser compatibility issues are sorted. But most of my work doesn't need to support versions of IE older than 11.
Re:Interview with a Pornhub web developer (2019) by cblconfederate on Tuesday July 28, 2020 @03:02PM (#23979466)
which is exactly what they are doing (also , nominally vanilla JS is even more legacy than JQ)
Re:Interview with a Pornhub web developer (2019) by wolco on Wednesday July 29, 2020 @01:18AM (#23983711)
What do you gain? What do you lose?

jQuery has a better syntax and smaller coding footprint.

Re:Interview with a Pornhub web developer (2019) by holoduke on Tuesday July 28, 2020 @05:23PM (#23980841)
isn't jQuery nowadays also using all native functions of a browser? I still find the regex selector so powerful in jQuery.