home bbs files messages ]

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

   comp.lang.pascal.borland      Borland Pascal was actually pretty neat      2,978 messages   

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

   Message 1,287 of 2,978   
   Marco van de Voort to Erwann ABALEA   
   Re: const assignment not the same?   
   04 Feb 05 10:52:27   
   
   From: marcov@stack.nl   
      
   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 :-)   
      
   --- 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