<?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: Nicely rewriting outparams</title>
	<atom:link href="http://blog.mozilla.org/tglek/2007/05/10/nicely-rewriting-outparams/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mozilla.org/tglek/2007/05/10/nicely-rewriting-outparams/</link>
	<description>Taras&#039; blog on Snappy, Startup, Telemetry and other Firefox peroformance matters</description>
	<lastBuildDate>Tue, 27 Nov 2012 16:50:13 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: tglek</title>
		<link>http://blog.mozilla.org/tglek/2007/05/10/nicely-rewriting-outparams/comment-page-1/#comment-1262</link>
		<dc:creator>tglek</dc:creator>
		<pubDate>Fri, 11 May 2007 21:51:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mozilla.org/tglek/2007/05/10/nicely-rewriting-outparams/#comment-1262</guid>
		<description><![CDATA[Fixing the naming convention is pretty easy. Maintaining indentation is harder(once more code moves around), but doable.]]></description>
		<content:encoded><![CDATA[<p>Fixing the naming convention is pretty easy. Maintaining indentation is harder(once more code moves around), but doable.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Johnny Stenback</title>
		<link>http://blog.mozilla.org/tglek/2007/05/10/nicely-rewriting-outparams/comment-page-1/#comment-1261</link>
		<dc:creator>Johnny Stenback</dc:creator>
		<pubDate>Fri, 11 May 2007 21:49:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mozilla.org/tglek/2007/05/10/nicely-rewriting-outparams/#comment-1261</guid>
		<description><![CDATA[One note, the patch in question generates changes that replace an out param with a local variable with the same name. There&#039;s a naming convention that conflicts with this, which is that arguments are named &#039;a&#039; followed by something, and something is camel cased (i.e. first character upper cased, etc).

Seems reasonably straight forward to auto-rename to strip off the &#039;a&#039; and lowercase the following character. Or would that be hard?]]></description>
		<content:encoded><![CDATA[<p>One note, the patch in question generates changes that replace an out param with a local variable with the same name. There&#8217;s a naming convention that conflicts with this, which is that arguments are named &#8216;a&#8217; followed by something, and something is camel cased (i.e. first character upper cased, etc).</p>
<p>Seems reasonably straight forward to auto-rename to strip off the &#8216;a&#8217; and lowercase the following character. Or would that be hard?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tglek</title>
		<link>http://blog.mozilla.org/tglek/2007/05/10/nicely-rewriting-outparams/comment-page-1/#comment-1260</link>
		<dc:creator>tglek</dc:creator>
		<pubDate>Fri, 11 May 2007 15:27:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mozilla.org/tglek/2007/05/10/nicely-rewriting-outparams/#comment-1260</guid>
		<description><![CDATA[Thanks. Looks like we can&#039;t do an automatic rewrite if a function already uses null/not-null in the outparam for a special meaning. That&#039;s why I made selecting candidates &amp; rewriting separate stages. This way a human can check/trim the list of candidates and rerun the tool as many times as needed and when it is most convenient.]]></description>
		<content:encoded><![CDATA[<p>Thanks. Looks like we can&#8217;t do an automatic rewrite if a function already uses null/not-null in the outparam for a special meaning. That&#8217;s why I made selecting candidates &amp; rewriting separate stages. This way a human can check/trim the list of candidates and rerun the tool as many times as needed and when it is most convenient.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neil</title>
		<link>http://blog.mozilla.org/tglek/2007/05/10/nicely-rewriting-outparams/comment-page-1/#comment-1257</link>
		<dc:creator>Neil</dc:creator>
		<pubDate>Fri, 11 May 2007 11:48:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mozilla.org/tglek/2007/05/10/nicely-rewriting-outparams/#comment-1257</guid>
		<description><![CDATA[Note that the very first example in the diff is incorrect - CreateHTMLImageFrame has three possible return conditions, a) no frame necessary b) frame created succesfully c) failed to create frame.]]></description>
		<content:encoded><![CDATA[<p>Note that the very first example in the diff is incorrect &#8211; CreateHTMLImageFrame has three possible return conditions, a) no frame necessary b) frame created succesfully c) failed to create frame.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
