Iterators and Cfor

2004-09-09 Thread David Wheeler
On Sep 9, 2004, at 9:14 AM, Larry Wall wrote: I just borrowed the - from Perl 5 because I knew it was available, and I thought it read better for Cfor loops than the Ruby approach. Interestingly, I was at PDX.pm last night for a presentation entitled, Ruby for Perl Programmers. One of the things

Re: Iterators and Cfor

2004-09-09 Thread Larry Wall
On Thu, Sep 09, 2004 at 09:27:36AM -0700, David Wheeler wrote: : On Sep 9, 2004, at 9:14 AM, Larry Wall wrote: : : I just borrowed the - from Perl 5 because I knew it was available, : and I thought it read better for Cfor loops than the Ruby approach. : : Interestingly, I was at PDX.pm last

Re: Iterators and Cfor

2004-09-09 Thread Aaron Sherman
On Thu, 2004-09-09 at 13:14, Larry Wall wrote: So whereas Ruby's syntax actually tends to push you toward .each iterators, Perl 6's syntax will be fairly neutral on the subject, or maybe biased every so slightly away from method iteration by the width of about one character: for @foo {

Re: Iterators and Cfor

2004-09-09 Thread Piers Cawley
Aaron Sherman [EMAIL PROTECTED] writes: On Thu, 2004-09-09 at 13:14, Larry Wall wrote: So whereas Ruby's syntax actually tends to push you toward .each iterators, Perl 6's syntax will be fairly neutral on the subject, or maybe biased every so slightly away from method iteration by the width