13 points · by alfredxing · 11y ago · 5 comments
It's a neat little snippet for those that want that, but other than that, makes really no difference.
I guess this is just stemming from my view that a huge library like jQuery isn't necessarily needed anymore, now that most browsers support things like a good native API for DOM manipulation and traversal.
Is your background mainly Java or perhaps K&R-era C? I can understand how coming from that you might not be used to the little convenient tweaks you can make to a more dynamic language.