- From: Scott González <scott.gonzalez@gmail.com>
- Date: Thu, 10 May 2012 19:06:45 -0400
- To: Ian Hickson <ian@hixie.ch>
- Cc: Jonas Sicking <jonas@sicking.cc>, Webapps WG <public-webapps@w3.org>
Received on Thursday, 10 May 2012 23:07:09 UTC
Let's pretend that $() doesn't exist and we exposed this functionality as jQuery.createElementFromHtml(). FWIW, web authors' design aesthetics don't really match the Web platform's design aesthetic. This is why broken APIs like querySelectorAll() will be replaced by intuitive APIs like find(). On Thu, May 10, 2012 at 6:50 PM, Ian Hickson <ian@hixie.ch> wrote: > On Thu, 10 May 2012, Jonas Sicking wrote: > > > > The jQuery API shows that at least jQuery developers don't agree with > > you regarding what is simpler here. > > That wouldn't be the first time. :-) > > jQuery doesn't really match the Web platform's design aesthetic, with > method names consisting purely of punctuation, methods that can be used > both to register a callback and invoke a callback (click(f) vs click()), > the style of using return values to enable chained invocations of methods > on a specific object, etc. > > I have great respect for jQuery as a library, but I'm not sure it's > necessarily a given that just because jQuery does something one way, it > makes sense for the Web platform to do it that way as well. > > -- > Ian Hickson U+1047E )\._.,--....,'``. fL > http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,. > Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.' > >
Received on Thursday, 10 May 2012 23:07:09 UTC