| ▲ | lrvick 4 hours ago | ||||||||||||||||
Everything I ever used jquery for 15 years ago, I found myself able to do with the CSS and the JS standard library maybe 10 years ago. I honestly am confused when I see jquery used today for anything. Is there still anything jquery does you cannot easily do with a couple lines of stdlib? | |||||||||||||||||
| ▲ | simondotau 4 hours ago | parent | next [-] | ||||||||||||||||
The terse and chainable jQuery syntax is more readable, easier to remember, and thus more pleasant to maintain. Rewriting for stdlib is easy, but bloats out the code by forcing you to pepper in redundant boilerplate on nearly every line. | |||||||||||||||||
| ▲ | jampekka 4 hours ago | parent | prev [-] | ||||||||||||||||
Jquery does many things in one line that requires a couple lines of stdlib. Writing less code is what libraries are for. | |||||||||||||||||
| |||||||||||||||||