The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

goto by perldude2002-06-11 09:00:28
  There are several cases where goto is appropriate. by Yohimbe2002-06-11 09:19:09
    Yep. KnR said so themselves... by Tars_Tarkas2002-06-11 09:30:33
      in which case... by Epiphany02002-06-11 09:36:39
        But how for multiple nested loops? by Freakazoid 2002-06-11 09:39:08
like 3 or 4 deep? (i've had cases where exactly that happend) a break would only break outta one, then you'd still need a extra variable to tell the rest to break and lots of extra lines, checking for the variable, etc..., vs. 1 goto statment and 1 target line.
[ Reply ]
          then... by Epiphany02002-06-11 09:45:54
            It ultimately obfuscates the structure... by HadEnuf2002-06-11 09:59:44
              Would you call java's exception handling by Yohimbe2002-06-11 10:02:09
                It's at least an incremental improvement... by HadEnuf2002-06-11 10:10:14
                  How about continuations? by Schol-R-LEA;22006-11-19 12:55:59
          deep nesting by perldude2002-06-11 09:48:00

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)