in reply to do/redo or for(;;): what's Kosher?
I personally don't like that idiom, because it's not obvious to me that it's an infinite loop. For that, I would prefer while (1) or something along those lines. (Actually, I've never had to program an eternal loop before. *shrugs*)
Of course, I've also never used redo, so the idiom isn't very familiar to me.
------
We are the carpenters and bricklayers of the Information Age.
Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: do/redo or for(;;): what's Kosher?
by runrig (Abbot) on Jan 03, 2002 at 23:03 UTC | |
Re: Re: do/redo or for(;;): what's Kosher?
by AidanLee (Chaplain) on Jan 03, 2002 at 23:16 UTC |
In Section
Seekers of Perl Wisdom