Re: loop do .. until end loop is surely incorrect!
- Posted by jaygade Feb 27, 2011
- 1488 views
Heh, when I took a comp sci class a few years ago, I had a "while 1 do" in either a bash script or a java program. I don't remember which because I don't remember which class it was. Did I mention that it was awhile ago?
Regardless, I got marked down for it, the instructor thought that it was bad form. I disagreed - it was part of an input loop.
Apropos of nothing. I'm pretty neutral on "with entry". I do agree that the specific example is better "with entry" rather than "while 1 do".