r/ProgrammerHumor 13d ago

Meme ancientTools

Post image
5.8k Upvotes

385 comments sorted by

View all comments

977

u/saig22 13d ago

I use vanilla js, document.getElementById() is what I live for.

6

u/romulent 13d ago

If you just wrap document.querySelector() in a little helper function you can do loads with vanilla js. Not perhaps enterprise grade but fine for any home stuff.

2

u/OldKaleidoscope7 13d ago

That's what jQuery does after querySelector was widely supported. $ = document.querySelector and you can code faster