Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #29616

Re: Can someone tell if this is javascript or else (jquery)?

From Thomas 'PointedEars' Lahn <PointedEars@web.de>
Newsgroups comp.lang.javascript
Subject Re: Can someone tell if this is javascript or else (jquery)?
Date 2016-02-16 08:36 +0100
Organization PointedEars Software (PES)
Message-ID <1998996.AYlFq7fMdc@PointedEars.de> (permalink)
References <89e24913-7873-405c-9b54-9c35331c4d15@googlegroups.com> <ad4a7459-1e9a-4064-bd48-315bd4bfeb3b@googlegroups.com> <n9u4ha$f23$1@news.albasani.net>

Show all headers | View raw


Stefan Weiss wrote:

> As for what jQuery is best for... most of the regulars in this group are
> heavily biased against jQuery, so you're unlikely to get a straight
> answer here :)
> Still, if it's a plain JS library (like jQuery), you can do everything
> it does with plain JS yourself.

No, because "JS" (here short for the proper term “ECMAScript 
implementations”) does not include APIs like the DOM that are necessary to 
achieve this.  Those are provided by the respective host environment and can 
be used with "JS" (and other programming languages) either directly or 
through libraries like jQuery that wrap this accessing capability for 
developer convenience.

The problem with jQuery and the likes is not that you can live without them, 
but that in their design, convenience has been given greater priority than 
runtime and memory efficiency and backwards compatibility (marketing calls 
this problem “write less, do more”), and that as APIs converge and new CSS 
features emerge, an increasing number of features more conveniently provided 
by jQuery and the likes becomes unnecessary to use to achieve something.  
For example, simple transitions are better written in CSS directly nowadays.

The problem with jQuery and the likes is that you learn to do things a 
certain way (with CSS-like selectors) which will make it harder for you to 
even consider alternatives when they are better than the jQuery-ish way.

<http://youmightnotneedjquery.com/>

-- 
PointedEars
FAQ: <http://PointedEars.de/faq> | SVN: <http://PointedEars.de/wsvn/>
Twitter: @PointedEars2 | ES Matrix: <http://PointedEars.de/es-matrix>
Please do not cc me. / Bitte keine Kopien per E-Mail.

Back to comp.lang.javascript | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Can someone tell if this is javascript or else (jquery)? bpascal123 <bpascal123@gmail.com> - 2016-02-14 14:49 -0800
  Re: Can someone tell if this is javascript or else (jquery)? Stefan Weiss <krewecherl@gmail.com> - 2016-02-15 00:05 +0100
    Re: Can someone tell if this is javascript or else (jquery)? bpascal123 <bpascal123@gmail.com> - 2016-02-14 15:26 -0800
      Re: Can someone tell if this is javascript or else (jquery)? Stefan Weiss <krewecherl@gmail.com> - 2016-02-15 01:22 +0100
        Re: Can someone tell if this is javascript or else (jquery)? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-02-15 20:00 +0100
      Re: Can someone tell if this is javascript or else (jquery)? "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2016-02-15 05:41 -0800
  Re: Can someone tell if this is javascript or else (jquery)? bpascal123 <bpascal123@gmail.com> - 2016-02-15 16:59 -0800
    Re: Can someone tell if this is javascript or else (jquery)? Stefan Weiss <krewecherl@gmail.com> - 2016-02-16 04:20 +0100
      Re: Can someone tell if this is javascript or else (jquery)? "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2016-02-15 22:18 -0800
      Re: Can someone tell if this is javascript or else (jquery)? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-02-16 08:36 +0100
        Re: Can someone tell if this is javascript or else (jquery)? Stefan Weiss <krewecherl@gmail.com> - 2016-02-16 11:45 +0100
          Re: Can someone tell if this is javascript or else (jquery)? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-02-16 20:23 +0100
            Re: Can someone tell if this is javascript or else (jquery)? John Harris <niam@jghnorth.org.uk.invalid> - 2016-02-16 20:24 +0000
              Re: Can someone tell if this is javascript or else (jquery)? Andrew Poulos <ap_prog@hotmail.com> - 2016-02-17 07:31 +1100
                Re: Can someone tell if this is javascript or else (jquery)? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-02-17 15:57 +0100
                Re: Can someone tell if this is javascript or else (jquery)? Tim Streater <timstreater@greenbee.net> - 2016-02-17 15:09 +0000
                Re: Can someone tell if this is javascript or else (jquery)? John Harris <niam@jghnorth.org.uk.invalid> - 2016-02-17 16:09 +0000
                Re: Can someone tell if this is javascript or else (jquery)? John Harris <niam@jghnorth.org.uk.invalid> - 2016-02-17 15:45 +0000
                Re: Can someone tell if this is javascript or else (jquery)? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-02-18 00:09 +0100
                Re: Can someone tell if this is javascript or else (jquery)? Andrew Poulos <ap_prog@hotmail.com> - 2016-02-18 19:29 +1100
                Re: Can someone tell if this is javascript or else (jquery)? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-02-18 23:36 +0100
                Re: Can someone tell if this is javascript or else (jquery)? John Harris <niam@jghnorth.org.uk.invalid> - 2016-02-19 10:51 +0000
                Re: Can someone tell if this is javascript or else (jquery)? Scott Sauyet <scott.sauyet@gmail.com> - 2016-02-19 09:01 -0800
                Re: Can someone tell if this is javascript or else (jquery)? John Harris <niam@jghnorth.org.uk.invalid> - 2016-02-18 15:10 +0000
            Re: Can someone tell if this is javascript or else (jquery)? Stefan Weiss <krewecherl@gmail.com> - 2016-02-16 23:56 +0100
  Re: Can someone tell if this is javascript or else (jquery)? bpascal123 <bpascal123@gmail.com> - 2016-02-17 04:46 -0800

csiph-web