ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl6-language
perl6-language
Re: Custom iterators
by Bart Lateur other posts by this author
Oct 3 2001 11:05AM messages near this date
Re: Custom iterators | Re: Custom iterators
On Tue, 2 Oct 2001 21:30:19 -0400, Michael G Schwern wrote:

> On Wed, Oct 03, 2001 at 02:26:47AM +0200, Bart Lateur wrote:

> > >    foreach_line { print } 'some/file';

> > 

> > You really like underscores, do you?

> 

> If all you got out of that thread was "Schwern likes underscores" then I

> explained iterators really, really, really badly.


Not really. But is was just the only thing I wanted to comment about.

I knew about iterators. I know that if Damian Conway gets his way,
they'll be added to Perl6.

It's just that I find them a bit hard to wrap my brain around them, so I
can't really share your enthusiasm. Perhaps when I get used to actually
using them, that I may end up seeing their beauty. But not just yet.

But I really really doubt if there's any computer language in the world
that uses underscores in their keywords. After all, in Perl, it's
"foreach" and not "for_each", is it?

So, even if your feature is added just the way you'd like it, you'll
likely still have to go searching for other names. Because names with
underscores in them will most likely not be considered acceptable.

-- 
	Bart.


Thread:
Michael G Schwern
Piers Cawley
Michael G Schwern
Bart Lateur
Michael G Schwern
Bart Lateur
Michael G Schwern
Uri Guttman
Michael G Schwern
Brent Dax
Bryan C. Warnock
Michael G Schwern

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved