From: erwann@abalea.com   
      
   On Fri, 4 Feb 2005, Marco van de Voort wrote:   
      
   > On 2005-02-04, Erwann ABALEA wrote:   
   > > On Fri, 4 Feb 2005, Heinrich Wolf wrote:   
   > >   
   > >> you seem to have started from C and move to pascal. But even I have   
   started   
   > >> from Basic, moved to Pascal and in the meantime also use C++. I strongly   
   > >> recommend, no more to use labels or breaks (except those in C switch). If   
   I   
   > >   
   > > Are you saying that labels and goto are bad in C? If yes, then I disagree.   
   > > Goto are bad in Basic, since it makes you produce spaghetti code. But   
   > > that's not possible in C, and gotos can help producing more compact and   
   > > cleaner code (for example to ease error treatment, and have only one exit   
   > > point for a function).   
   >   
   > The difference between a drug and a poison is the dose. That also applies   
   > to GOTO :-)   
      
   Right! Same goes for Goto-bashing :)   
      
   I only use goto for error processing, deallocating unnecessary resources   
   at the end. Mark() and Release() could help, if they existed in C ;)   
      
   --   
   Erwann ABALEA - RSA PGP Key ID: 0x2D0EABD5   
   -----   
   Ceux qui ne sont pas d'accord, je n'en ai rien à foutre, adressez vous   
   au comité en lui disant qu'il fallait continuer la discussion. je m'en   
   fous totalement, le groupe est illisible, je ne le fréquente plus.   
   -+- GA in Guide du Neuneu d'Usenet - Le monosensus pour les neuneux. -+-   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|