<?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: Elements of SQR Style</title>
	<atom:link href="http://peoplesoftsqr.com/index.php/2009/09/elements-of-sqr-style/feed/" rel="self" type="application/rss+xml" />
	<link>http://peoplesoftsqr.com/index.php/2009/09/elements-of-sqr-style/</link>
	<description>When Peoplebooks Is Not Enough</description>
	<lastBuildDate>Mon, 16 Aug 2010 16:52:22 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Bob Josephson</title>
		<link>http://peoplesoftsqr.com/index.php/2009/09/elements-of-sqr-style/comment-page-1/#comment-4709</link>
		<dc:creator>Bob Josephson</dc:creator>
		<pubDate>Mon, 28 Sep 2009 16:59:10 +0000</pubDate>
		<guid isPermaLink="false">http://peoplesoftsqr.com/?p=482#comment-4709</guid>
		<description>I disagree.

Thus I leave a comment.

But seriously... your example of looping to calculate a total is OK if there&#039;s no way to exit the loop prematurely (just as calculating global_revenue is safe as long as no bozo sticks a line of code in the middle). But what if you leave the loop early due to an ON ERROR statement?

The real solution is to have a temporary variable (e.g. accumulate_total) in the loop that is discarded after the calculation.

I freely admit that I&#039;m frequently too lazy to follow my own advice.

- Bob</description>
		<content:encoded><![CDATA[<p>I disagree.</p>
<p>Thus I leave a comment.</p>
<p>But seriously&#8230; your example of looping to calculate a total is OK if there&#8217;s no way to exit the loop prematurely (just as calculating global_revenue is safe as long as no bozo sticks a line of code in the middle). But what if you leave the loop early due to an ON ERROR statement?</p>
<p>The real solution is to have a temporary variable (e.g. accumulate_total) in the loop that is discarded after the calculation.</p>
<p>I freely admit that I&#8217;m frequently too lazy to follow my own advice.</p>
<p>- Bob</p>
]]></content:encoded>
	</item>
</channel>
</rss>
