3 ms·
This! This times a million times!!~! Seriously. The javascript world is INSANE. All these frameworks and few truly need them... node.js package management is a
by tomc1985 11y ago
This! This times a million times!!~!
Seriously. The javascript world is INSANE. All these frameworks and few truly need them... node.js package management is a mess... yet how many of these coders will take the time to learn real ES5? It really isn't that hard of a language.
I feel like calling oneself a "javascript" expert practically requires knowledge of a framework or too. This is saddening, because Javascript itself is a rich language with a ridiculously fast runtime, yet everyone wants to work with a framework when a head full of sound theory and experience will do :/
- fizixer 11y agoAs a javascript-noob, not even jquery? I've heard jquery solved so many headaches.
- 8note 11y agoit solved differences between older browsers. now, they tend to follow standards, and that melding is less needed
- lstamour 11y agoIt solved problems of cross-browser compatibility back when Netscape was still a thing, before Chrome existed, when major releases of browsers (IE) radically changed functionality between releases, and if I recall, we had Phoenix/Firefox as the most cutting-edge browser of the era. This is what browser market share looked like back then: http://arstechnica.com/uncategorized/2007/02/8908/ http://arstechnica.com/uncategorized/2007/02/8908/ When jQuery launched, it appeared on Del.icio.us and Digg, for context of its era: https://jquery.org/history/ https://jquery.org/history/
- niuzeta 11y agoThe major criticism of jquery comes from its "overhead" which comes from wrapping a lot of functionalities onto relatively(at the time of its onset) large file[1]. While they were legitimate(internet was slow) at the time, at its cost jquery worked as a go-to-solution for browser incompatibility. This was a major issue which jquery solved magnificently. And frankly, a significant portion of jquery usages are a very limited set of functionalities: selection, class manipulation, some visible on/off, AJAX and promises. A lot of those don't necessarily need jquery[2]. Some hard-core guys go so far as to separately download only modules[3] which works. Honestly, I wouldn't mind calling a significant portion of jquery to be "pure javascript" as it lets me not worry about browser compatibilities and pleasant stuff that should have been part of standard library. ES6 is supposedly fix most of the complaints, but whether browsers will support them or not is a different question. [1] https://mathiasbynens.be/demo/jquery-size https://mathiasbynens.be/demo/jquery-size has a nice tabular info on how large jquery file sizes were. [2] http://youmightnotneedjquery.com/ http://youmightnotneedjquery.com/ is a widely cited source. [3] https://github.com/jquery/jquery/tree/master/src https://github.com/jquery/jquery/tree/master/src, go nuts.
- tomc1985 11y agojquery is awesome, go for it! (I don't consider jquery a framework, though you can use it like one. Back when browser compatibility was a much larger headache it was a requirement for being productive, but nowadays most browsers implement ES5 reasonably uniformly. Particularly notable are its succinct shortcuts for CSS manipulations, AJAX, and running code on-page-load) The only real gotcha is that jquery DOM manipulation is not really compatible with native DOM manipulation, but you can get to one from the other Re: overhead criticisms: the base jquery "runtime" is a pretty reasonable size for the functionality it provides, and the accoutrements are completely optional.
- zxcvcxz 11y agoWhere are all the job openings for people who don't know a single framework or library?