On Tue, Nov 29, 2011 at 12:26:29PM -0500, Eric Brine wrote: > On Tue, Nov 29, 2011 at 3:53 AM, Christian Walde < > walde.christian@googlemail.com> wrote: > > > On Tue, 29 Nov 2011 09:47:55 +0100, Eric Brine <ikegami@adaelis.com> > > wrote: > > > Why do people always leave out C<< for (EXPR..EXPR) >> when discussing > >> > > preferences for "for" vs "foreach"? > >> > > > > Because .. does result into an array? > > > Nope, it doesn't into an foreach loop iterating over an array or list*. It > results into a counting loop. Implementation detail. From a language POV, it doesn't matter. AbigailThread Previous | Thread Next