If you find yourself writing helper functions to simplify stuff, then jquery (or smaller clones of it like: github.com/fabiospampinato/cash) are a valid option - your first example shows how much less you have to write.
And as you pointed out yourself, jquery is still used in millions of legacy websites that aren't going to be refactored or rewritten in a "modern framework" any time soon, if ever.
I rather work on a site with jquery, than some early Angular 1 monster (which was a modern framework once) - use the tools that help archive your goals. Cheers.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
If you find yourself writing helper functions to simplify stuff, then jquery (or smaller clones of it like: github.com/fabiospampinato/cash) are a valid option - your first example shows how much less you have to write.
And as you pointed out yourself, jquery is still used in millions of legacy websites that aren't going to be refactored or rewritten in a "modern framework" any time soon, if ever.
I rather work on a site with jquery, than some early Angular 1 monster (which was a modern framework once) - use the tools that help archive your goals. Cheers.