Path: csiph.com!weretis.net!feeder4.news.weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: "Christoph M. Becker" Newsgroups: comp.lang.javascript Subject: Re: Should I use JQuery? Date: Sat, 25 Jun 2016 20:17:42 +0200 Organization: solani.org Lines: 27 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: solani.org 1466878653 3104 eJwNycERwDAIA7CVSo3hGAdCvP8Irb4iwuKkB8MpStsmrNZGeC/qeFfKUBsxevwma/oPx6XNBzsREco= (25 Jun 2016 18:17:33 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Sat, 25 Jun 2016 18:17:33 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 X-User-ID: eJwNwoERACEIA7CVRFpgHb/C/iP4l9DDQolggPNbKjsC2hxcftU5O1Vs+u5PHDEhtk5Z3QcZ1RFg In-Reply-To: Cancel-Lock: sha1:YL6+jxD1GHkH4SNpv/1sCPi9g1I= X-NNTP-Posting-Host: eJwFwYkBgDAIA8CV+BJwHNvI/iN4h6TzdhEsLLYld4xJPDGVnyGkUJ60+yK2aLTJmrB+dn4RIhA4 Xref: csiph.com comp.lang.javascript:30732 On 25.06.2016 at 19:43, wmgill wrote: > I haven't done anything in JavaScript for many years. I avoided it > because of the high percentage of users who had turned it off. It > appears that number is reasonably low, and I see no need to avoid it > anymore as long as I make provisions for the non JS users. I prefer to think the other way round, i.e. making provisions for clients which do support scripting. > I am updating an old website that I had several simple Flash animations > that I want to replace. I always thought of JQuery as an > over-complicated, unnecessary wrapper for JS, but that thinking may be > wrong. So my question is, if I don't intend to have massive scripting, > but the occasional simple function (e.g. slideshows w/links), should I > install and learn JQuery, or just focus on relearning JS? jQuery is a library; as such you will have to "relearn JS" anyway. And jQuery does not provide much wrt. ECMAScript; it is mostly concerned with the DOM and some other browser functionality (such as XHR). I suggest you learn to differentiate between the language (ECMAScript) and its host environment (e.g. a browser). See also . -- Christoph M. Becker