<?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: Iterators</title>
	<atom:link href="http://nslog.com/2003/03/30/iterators/feed" rel="self" type="application/rss+xml" />
	<link>http://nslog.com/2003/03/30/iterators</link>
	<description>The Weblog of Erik J. Barzeski</description>
	<lastBuildDate>Tue, 07 Feb 2012 16:40:07 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: andy</title>
		<link>http://nslog.com/2003/03/30/iterators#comment-1609</link>
		<dc:creator>andy</dc:creator>
		<pubDate>Mon, 31 Mar 2003 20:38:26 +0000</pubDate>
		<guid isPermaLink="false">http://nslog.com/2003/03/30/iterators/#comment-1609</guid>
		<description>Nope, that&#039;s illegal even in C99 (don&#039;t know why).</description>
		<content:encoded><![CDATA[<p>Nope, that's illegal even in C99 (don't know why).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Tsai</title>
		<link>http://nslog.com/2003/03/30/iterators#comment-1608</link>
		<dc:creator>Michael Tsai</dc:creator>
		<pubDate>Mon, 31 Mar 2003 20:27:36 +0000</pubDate>
		<guid isPermaLink="false">http://nslog.com/2003/03/30/iterators/#comment-1608</guid>
		<description>I want the enumerator and the object to be in the loop&#039;s scope. Does C99 let you declare like so:



for ( int i = 0; i </description>
		<content:encoded><![CDATA[<p>I want the enumerator and the object to be in the loop's scope. Does C99 let you declare like so:</p>
<p>for ( int i = 0; i </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: andy</title>
		<link>http://nslog.com/2003/03/30/iterators#comment-1607</link>
		<dc:creator>andy</dc:creator>
		<pubDate>Mon, 31 Mar 2003 14:31:49 +0000</pubDate>
		<guid isPermaLink="false">http://nslog.com/2003/03/30/iterators/#comment-1607</guid>
		<description>That&#039;s not a restriction of Objective C, it&#039;s a restriction of C (which Objective C only extends).



Apple&#039;s latest compiler (since Jaguar) uses C99, so you don&#039;t have to declare them at the beginning of a block any more.</description>
		<content:encoded><![CDATA[<p>That's not a restriction of Objective C, it's a restriction of C (which Objective C only extends).</p>
<p>Apple's latest compiler (since Jaguar) uses C99, so you don't have to declare them at the beginning of a block any more.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Tsai's Weblog</title>
		<link>http://nslog.com/2003/03/30/iterators#comment-1610</link>
		<dc:creator>Michael Tsai's Weblog</dc:creator>
		<pubDate>Sun, 30 Mar 2003 18:43:11 +0000</pubDate>
		<guid isPermaLink="false">http://nslog.com/2003/03/30/iterators/#comment-1610</guid>
		<description>&lt;strong&gt;Iterators&lt;/strong&gt;

Erik Barzeski posted about iterators in Cocoa, so I thought I&#8217;d give some perspectives from other languages. I think there are really two concepts here: iteration and generation. I don&#8217;t know that everyone agrees with these definitions, bu...
</description>
		<content:encoded><![CDATA[<p><strong>Iterators</strong></p>
<p>Erik Barzeski posted about iterators in Cocoa, so I thought I&rsquo;d give some perspectives from other languages. I think there are really two concepts here: iteration and generation. I don&rsquo;t know that everyone agrees with these definitions, bu...</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Tsai</title>
		<link>http://nslog.com/2003/03/30/iterators#comment-1606</link>
		<dc:creator>Michael Tsai</dc:creator>
		<pubDate>Sun, 30 Mar 2003 16:53:11 +0000</pubDate>
		<guid isPermaLink="false">http://nslog.com/2003/03/30/iterators/#comment-1606</guid>
		<description>Cocoa&#039;s iterators are OK, but I&#039;ve often wished they had:



- (BOOL)hasNextObject;



That combined with Obj-C&#039;s restrictions on where you can declare variables makes them kind of clumsy to use, IMO.</description>
		<content:encoded><![CDATA[<p>Cocoa's iterators are OK, but I've often wished they had:</p>
<p>- (BOOL)hasNextObject;</p>
<p>That combined with Obj-C's restrictions on where you can declare variables makes them kind of clumsy to use, IMO.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

