Re: "continue/next" for "loop"
From: Georg Bauhaus (sb463ba_at_l1-hrz.uni-duisburg.de)
Date: 11/03/03
- Next message: Jeffrey Carter: "Re: "continue/next" for "loop""
- Previous message: Alexandre E. Kopilovitch: "Re: Clause "with and use""
- In reply to: Lutz Donnerhacke: "Re: "continue/next" for "loop""
- Next in thread: Lutz Donnerhacke: "Re: "continue/next" for "loop""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 3 Nov 2003 18:50:38 +0000 (UTC)
Lutz Donnerhacke <lutz@iks-jena.de> wrote:
: * Preben Randhol wrote:
:> Links on this: (Ada, goto and state machine)
:
: It's not a state machine. It's a "parser" which determine the end of the
: current iteration processing at a much deeper level.
Does it have to be at that low language level, then?
Why not carry abstraction further, adjust data definitions,
so that the spaghetti become more manageable? :-)
"Continue that_loop" denotes something, after all.
In addition, "Continue that_loop" might have other natural
connotations for other people, for example Perl programmers
might feel that a bare jump to some loop's start is inferior
to something like this:
loop
...
if condition then
goto loop_end;
end if;
...
<<loop_end>>
common_cleanup;
end loop;
Or consult Knuth, on Structured Programming with go to Statements.
http://doi.acm.org/10.1145/356635.356640
Georg
- Next message: Jeffrey Carter: "Re: "continue/next" for "loop""
- Previous message: Alexandre E. Kopilovitch: "Re: Clause "with and use""
- In reply to: Lutz Donnerhacke: "Re: "continue/next" for "loop""
- Next in thread: Lutz Donnerhacke: "Re: "continue/next" for "loop""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|