Re: Conceptual problem solved by GOTO

new topic     » goto parent     » topic index » view thread      » older message » newer message

Although I vote NO on general goto, I do vote yes on "exit(x)" whereby x in an
integer allowing you to break out of x many nested loops, which avoids the use of
flags, etc.  A "continue" or "skip" would also be nice for loops, allowing you to
jump ahead to the next iteration immediately.

These could be seen as specific cases of goto, but I still vote NO on general
goto.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu