Syntactic Confectionery Delight | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Personally, I also prefer the while (1) construct for an infinite loop. I think that this is because it is commonly used in python, my former language. :) But, it seems to make more sense than a plain block, and looks nicer than an empty for statement. I also thing using next or last statements in a while loop is more useful and makes more sense than redo in a plain block. Why hasn't anyone suggested using a goto statement yet? After all, TMTOWTDI... lol... # Anthony DeLorenzo ajdelore In reply to Re: do/redo or for(;;): what's Kosher?
by ajdelore
|
|