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 perldude 2002-06-11 09:00:28
I am actually debugging code that uses goto (and no, it wasn't written 30 years ago, it was written six months ago). It feels like being in some weird parallel universe where the Klingons are peace loving intellectuals, Captain Picard has hair, and people use goto.
[ Reply ]
  ack by Epiphany02002-06-11 09:05:04
  wow...what language? (n/t) by sumbusch2002-06-11 09:06:02
    C (n/t) by Epiphany02002-06-11 09:11:36
  There are several cases where goto is appropriate. by Yohimbe2002-06-11 09:19:09
    The only reason I've ever seen goto's used are... by Nullmeister2002-06-11 09:30:22
      Well, yes, that's the most common case... (n/t) by Schol-R-LEA;22002-06-11 09:48:17
        yes... by Epiphany02002-06-11 09:52:44
          Can't blame you by Schol-R-LEA;22002-06-11 10:11:54
            yep by Epiphany02002-06-11 10:32:29
              There are a few optimizations that are universal.. by HadEnuf2002-06-11 10:36:45
    Yep. KnR said so themselves... by Tars_Tarkas2002-06-11 09:30:33
      in which case... by Epiphany02002-06-11 09:36:39
        wouldn't that just be by sumbusch2002-06-11 09:38:50
          not exactly by Epiphany02002-06-11 09:44:26
        But how for multiple nested loops? by Freakazoid2002-06-11 09:39:08
          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
        Won't work for ***NESTED*** loops by HadEnuf2002-06-11 09:50:01
          I'll C you in Heck! by perldude2002-06-11 09:57:17
            <Deleted><Deleted>2003-10-23 17:58:32
              I guess I'm chicken too (n/t) by nawft2002-06-11 13:18:52
                Too late! by Naruki2002-06-11 13:24:49
                  actually by nawft2002-06-11 13:30:22
                    Don't worry about Nea getting mad... by Naruki2002-06-11 16:59:05
                      I still get mad by Nea2002-06-11 17:25:51
                        Naughty naughty. by Naruki2002-06-11 19:05:05
                          I thought it was well established... by Nea2002-06-11 20:15:23
                      I don't think I can be a dawn greeter by nawft2002-06-11 23:22:54
            Nah, Phil[1] and I don't get along! by HadEnuf2002-06-11 10:11:36
          already been covered (n/t) by Epiphany02002-06-11 10:00:15
    nested structures by perldude2002-06-11 09:31:02
      What do you think a break statement IS? by Naruki2002-06-11 09:39:08
        under the covers by perldude2002-06-11 09:45:20
          AMEN. (n/t) by Epiphany02002-06-11 09:48:37
            AWOMEN and ATHINGS. (n/t) by bugarup2002-06-11 10:11:31
      Well, assembly and machine code have no while() by Yohimbe2002-06-11 09:54:28
        Actually, I doubt that "Dijkstra hates him"... by HadEnuf2002-06-11 10:22:58
          Dijkstra would have killed Duff on the spot (n/t) by Yohimbe2002-06-11 10:25:12
            Think he would have been more justified... by HadEnuf2002-06-11 10:27:18
          *ow my brains* by i_am_pi2006-11-19 12:55:59
            Why, hello, Mr. Gumby! (n/t) by HadEnuf2002-06-11 11:03:02
    hmmmm by Epiphany02002-06-11 09:32:24
      Not "tree", or "recursion", but "loop"! by HadEnuf2002-06-11 10:04:42
        <Deleted><Deleted>2003-10-23 17:58:32
          Actually, more likely 64 *digits*. by HadEnuf2002-06-11 10:25:28
            damn. by Yohimbe2002-06-11 10:27:06
              Yup. (n/t) by HadEnuf2002-06-11 10:27:55
          I belive the technical term is "Poo poo" by dire_lobo2002-06-11 10:35:42
            (un)Civil Engineers who work on sewer systems... by HadEnuf2002-06-11 10:39:30
            I know that is obfuscated by nawft2002-06-11 12:55:16
              Exactly! by Naruki2002-06-11 13:12:04
                whether the rule makes sense or not I shall not sa by nawft2002-06-11 13:26:42
                Covering up ALL letters by pin0cchio2002-06-11 20:58:03
                  We would prefer if you don't by Nea2006-11-19 12:55:59
              Correct you are... by dire_lobo2002-06-11 23:08:26
          I'll admit it, I'm chicken by Nea2002-06-11 10:53:04
            *snicker* by Naruki2002-06-11 10:54:11
    In OpenVMS by nimdokk2002-06-11 15:00:40
  "...considered harmful" by HadEnuf2002-06-11 09:46:16
    so is that the 0.01% time then? by Epiphany02002-06-11 10:06:45
      Yes, though it's more than 0.01%... by HadEnuf2002-06-11 10:31:06
        fair enough by Epiphany02002-06-11 10:49:34
  I use goto when i'm lazy and don't want to bother by i_am_pi2002-06-11 10:02:00
    String that man up by his thumbs... by HadEnuf2002-06-11 10:32:56
      well those programs promptly get rm'd immediately by i_am_pi2002-06-11 10:39:22
        As long as they're not doing "stooped porpoises". by HadEnuf2002-06-11 10:40:56
          frumple. (n/t) by i_am_pi2002-06-11 11:07:06
            He's one of my favourite characters! by ag_wyvern2002-06-11 11:35:30
              "Cure the kid's insanity? Nothing easier." by Schol-R-LEA;22002-06-11 11:48:27
  I use goto in Basic... (n/t) by Llyr2002-06-11 10:50:26
    on the apple IIe? :-P (n/t) by Epiphany02002-06-11 10:51:37
      On my TI-89 (n/t) by Llyr2002-06-11 13:15:05
        That's not Basic by pin0cchio2002-06-11 20:45:56
          Actually... by Kickstart2002-06-11 22:20:53

 

[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.)