Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Please grab some soap, if you don't own it buy it and then wash your mouth with it...
I don't mind which language, OS, framework, ode or library you use unless it's jquery or Wordpress. -
Wozza638687yHave to agree with the others, let jQuery die. Learn a better framework or learn to use js properly. There's not much jQuery can do that vanilla js can't do anymore.
-
Wozza638687y@Codex404 sorry, I should have said easily. Most of the selecting etc can be done just as easily with vanilla js these days, and it's no doubt going to be much quicker.
-
@Greggergalactic I don't see JQuery as an alternative for vue or react, but plain JavaScript. Vue and react both offer so much more than JQuery.
-
Wozza638687y@Greggergalactic vanilla js and css3 are much better for performance. Nothing that jQuery can do that js can't do easily anymore. jQuery was designed to fill broken js standards across browsers but that is much less of a problem now. All 4 major browsers agree to specifications.
-
Wozza638687y@Greggergalactic check out http://vanilla-js.com and you might begin to understand why many devs have grown to dislike it.
Most people have an issue because it's often taught that jQuery is literally part and parcel with js and they nothing can fiction without it. It was certainly a most have 5 years ago but now it's just a slow and bloated library getting in the way of a much faster web. -
Wozza638687yBut you don't need another library, instead of $('#id') use document.getElementById('id'). Performance generally isn't too much of an issue for most pages, depends what it is, if you are doing 100s of selectors on a heavy lane then yes it will not become an issue. The last product I worked on consisted of very heavy pages where jQuery would affect performance a lot. So I guess I'm used to looking at it from that perspective.
-
@Greggergalactic but the way JQuery works is just slow. I've got a few small faster libraries which do the same but quicker.
JQuery is doing more strong parsing then needed, it even uses crap past time I checked...
Edit: crap was eval before autocorrect...
Related Rants
I must learn jQuery and NodeJS. It's amazing the potential of JS. My lastest 10 programs were written in pure JS and I made them in a few hours. As an electronic engineer I hate the high level languages but JS (and maybe Python) it's definitely excluded from the list.
rant
high level
javascript
language
jquery
js
python
nodejs