W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2012

Re: [webcomponents] Template element parser changes => Proposal for adding DocumentFragment.innerHTML

From: Ian Hickson <ian@hixie.ch>
Date: Thu, 10 May 2012 22:50:32 +0000 (UTC)
To: Jonas Sicking <jonas@sicking.cc>
cc: Webapps WG <public-webapps@w3.org>
Message-ID: <Pine.LNX.4.64.1205102237590.25792@ps20323.dreamhostps.com>
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 22:50:57 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:34 UTC