5 ms·
And when the wheel is so bloated the car can barely make it down the road without needing to refill the fuel tank a new more lightweight reliable wheel that can
by capsulecorp 8y ago
And when the wheel is so bloated the car can barely make it down the road without needing to refill the fuel tank a new more lightweight reliable wheel that can handle modern terrain is needed. That is why people are moving away from Jquery.
- exodust 8y agoI would not call Jquery bloated, relative to what is typically found on a website. Some of us still like using it, as the syntax is convenient and functionality reliable. There's an elegance and readability about it that appeals to me more than vanilla JS.
- capsulecorp 8y agoIt is bloated compared to using modern DOM methods. jqueery is not needed, its for the lazy and stupid, my opinion.
- komali2 8y agoThat's a pretty obnoxious and unfounded opinion.
- capsulecorp 8y agoYou seem to be ignorant in the matter. Go learn modern DOM methods, you will understand why you are so wrong.
- exodust 8y agoI think table based layouts will make a comeback. I'm sure you agree, they make good containers for flexbox items. It's a Table, with data inside, so I can put whatever I like in a table, including functioning as layout. Can still be an accessible page, the table just replaces divs for structure, it's role clearly stated.
- msla 8y agoHomophobia? Really? 'jqueery' isn't a typo.
- capsulecorp 8y agoYeah, every typo is homophobia if you decide it is, whatever helps you be offended kiddo.
- msla 8y agoThis does not contribute to discussion.
- pupdogg 8y agoI am going to root for bloated jQuery to save my life! $('.tpm_sensors').forEach(function(sensor) { if (sensor.pressure < threshold) fixBeforeIDie(); }); vs: var tpm_sensors = document.getElementsByClassName('tpm_sensors'); for (var i = 0, len = tpm_sensors.length; i < len; i++) { var sensor = tpm_sensors[i]; if (sensor.pressure < threshold) fixBeforeIDie(); }
- deleted 8y ago[deleted]
- deleted 8y ago[deleted]
- capsulecorp 8y agoNo need to load a slow bloated library. Learn modern DOM methods. Reading does wonders, my opinion.
- LorenzA 8y agodocument.querySelectorAll('.tpm_sensors').forEach((sensor) => {if (sensor.pressure < threshold) { fixBeforeIDie(); }});
- ulucs 8y agoand you usually define $ and $$ as querySelector and querySelectorAll at the beginning of the file if you don't like writing them all out, so they're exactly the same length
- IgorPartola 8y agoI remember the mess that came before jQuery. This is quite literally what we did back then, just with a custom made snippet of JS for finding by id and by class. It sucked. I mean to me Bootstrap is just a black box library, I don’t care how it works as long as it does. But this is going to suck for those working on its code.
- phponpcp 8y ago
- msla 8y agoOh, just take your hatred elsewhere!