<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Chrome Extension API; How we wish we have named parameters</title>
	<atom:link href="http://ajaxian.com/archives/chrome-extension-api-how-we-wish-we-have-named-parameters/feed" rel="self" type="application/rss+xml" />
	<link>http://ajaxian.com/archives/chrome-extension-api-how-we-wish-we-have-named-parameters</link>
	<description>Cleaning up the web with Ajax</description>
	<lastBuildDate>Thu, 17 May 2012 07:43:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: SubtleGradient</title>
		<link>http://ajaxian.com/archives/chrome-extension-api-how-we-wish-we-have-named-parameters/comment-page-1#comment-272685</link>
		<dc:creator>SubtleGradient</dc:creator>
		<pubDate>Thu, 09 Apr 2009 08:39:06 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=6510#comment-272685</guid>
		<description>Explain again why removing the { &amp; } characters is a good idea. Just pretend you have a cute little pinchy crab hugging all your properties ^_^</description>
		<content:encoded><![CDATA[<p>Explain again why removing the { &amp; } characters is a good idea. Just pretend you have a cute little pinchy crab hugging all your properties ^_^</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: savetheclocktower</title>
		<link>http://ajaxian.com/archives/chrome-extension-api-how-we-wish-we-have-named-parameters/comment-page-1#comment-272683</link>
		<dc:creator>savetheclocktower</dc:creator>
		<pubDate>Wed, 08 Apr 2009 23:50:37 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=6510#comment-272683</guid>
		<description>Ruby has shown us that a bit of syntactic flexibility can go a long way. For instance, Ruby has &quot;getters&quot; and &quot;setters&quot; simply because parentheses are optional in method calls.

Likewise, one can leave off the braces when passing a hash into a method (except where it would cause ambiguity), thus approximating named parameters. If we could likewise leave off the braces in JavaScript, we&#039;d be 90% there.</description>
		<content:encoded><![CDATA[<p>Ruby has shown us that a bit of syntactic flexibility can go a long way. For instance, Ruby has &#8220;getters&#8221; and &#8220;setters&#8221; simply because parentheses are optional in method calls.</p>
<p>Likewise, one can leave off the braces when passing a hash into a method (except where it would cause ambiguity), thus approximating named parameters. If we could likewise leave off the braces in JavaScript, we&#8217;d be 90% there.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: eyelidlessness</title>
		<link>http://ajaxian.com/archives/chrome-extension-api-how-we-wish-we-have-named-parameters/comment-page-1#comment-272631</link>
		<dc:creator>eyelidlessness</dc:creator>
		<pubDate>Tue, 07 Apr 2009 18:58:55 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=6510#comment-272631</guid>
		<description>&lt;blockquote&gt;I would hope that the “selected” property was named “hasFocus” instead due to selected having multile meanings such as when you tab to an object.&lt;/blockquote&gt; &quot;Focus&quot; suffers from the same problem. &quot;Selected&quot; is more accurate, at the least, and really who cares? It&#039;s not like developers are going to utterly confuse the tab system with a webpage checkbox.</description>
		<content:encoded><![CDATA[<blockquote><p>I would hope that the “selected” property was named “hasFocus” instead due to selected having multile meanings such as when you tab to an object.</p></blockquote>
<p> &#8220;Focus&#8221; suffers from the same problem. &#8220;Selected&#8221; is more accurate, at the least, and really who cares? It&#8217;s not like developers are going to utterly confuse the tab system with a webpage checkbox.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: slightlyoff</title>
		<link>http://ajaxian.com/archives/chrome-extension-api-how-we-wish-we-have-named-parameters/comment-page-1#comment-272623</link>
		<dc:creator>slightlyoff</dc:creator>
		<pubDate>Tue, 07 Apr 2009 18:30:00 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=6510#comment-272623</guid>
		<description>+1 for named params, ala Python. In some sense we already have them, but not in the &quot;optinal in any order property bag&quot; syntax.</description>
		<content:encoded><![CDATA[<p>+1 for named params, ala Python. In some sense we already have them, but not in the &#8220;optinal in any order property bag&#8221; syntax.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: EliGrey</title>
		<link>http://ajaxian.com/archives/chrome-extension-api-how-we-wish-we-have-named-parameters/comment-page-1#comment-272615</link>
		<dc:creator>EliGrey</dc:creator>
		<pubDate>Tue, 07 Apr 2009 17:06:05 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=6510#comment-272615</guid>
		<description>I would hope that the &quot;selected&quot; property was named &quot;hasFocus&quot; instead due to selected having multile meanings such as when you tab to an object.</description>
		<content:encoded><![CDATA[<p>I would hope that the &#8220;selected&#8221; property was named &#8220;hasFocus&#8221; instead due to selected having multile meanings such as when you tab to an object.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mpcm</title>
		<link>http://ajaxian.com/archives/chrome-extension-api-how-we-wish-we-have-named-parameters/comment-page-1#comment-272607</link>
		<dc:creator>mpcm</dc:creator>
		<pubDate>Tue, 07 Apr 2009 16:08:40 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=6510#comment-272607</guid>
		<description>It was something we found we needed in json-rpc to make life easier. It makes more sense if you think of api methods as properties that take an array or an object, especially when you go into doing work at language agnostic levels.</description>
		<content:encoded><![CDATA[<p>It was something we found we needed in json-rpc to make life easier. It makes more sense if you think of api methods as properties that take an array or an object, especially when you go into doing work at language agnostic levels.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TNO</title>
		<link>http://ajaxian.com/archives/chrome-extension-api-how-we-wish-we-have-named-parameters/comment-page-1#comment-272593</link>
		<dc:creator>TNO</dc:creator>
		<pubDate>Tue, 07 Apr 2009 12:01:31 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=6510#comment-272593</guid>
		<description>Named parameters have come up on es-discuss from time to time, I expect we&#039;ll see them in the not so distant future.</description>
		<content:encoded><![CDATA[<p>Named parameters have come up on es-discuss from time to time, I expect we&#8217;ll see them in the not so distant future.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

