home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.c      Meh, in C you gotta define EVERYTHING      243,242 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 241,258 of 243,242   
   Janis Papanagnou to Anton Shepelev   
   Re: do { quit; } else { }   
   08 Oct 25 16:35:07   
   
   From: janis_papanagnou+ng@hotmail.com   
      
   On 08.10.2025 16:08, Anton Shepelev wrote:   
   > Janis Papanagnou:   
   >   
   >> The problems with 'goto' go even farther than only the   
   >> technical lookup; it goes into the semantical domain when   
   >> jumping into and out of scopes (for example).   
   >   
   > All true.  I almost never use upwards-going goto (except for   
   > loop-and-a-half), and I never jump inside scopes, only out   
   > of them.   
      
   Some languages have restrictions and report such cases. But,   
   frankly, I cannot tell since I "abstain" from (mostly don't   
   even think to) using 'goto'. So when I actually want to use   
   'goto' I have to look up the language-specific rules anyway.   
   (Just recently, using an "old language", I ran into a funny   
   error where there was a conflict with the location of jump   
   labels and the location of declarations; I needed a kludge   
   to get it compiled.)   
      
   Janis   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca