C's syntax

Dirk-Ulrich Heise hei at adtranzsig.de
Wed Oct 25 04:39:48 EDT 2000


"Delaney, Timothy" <tdelaney at avaya.com> schrieb im Newsbeitrag
news:mailman.972359282.20630.python-list at python.org...
> You are kidding aren't you? One thing I've learned in my time is that
people
> don't stop making the same mistakes over and over. The difference is that
> when the error occurs you are able to identify the error immediately (oh
> hell ... I know what that is ... it's a typo ... I've put an assignment
> instead of a comparison ...).

No... In C, all weird things can happen and you *don't* know
it was a typo... One of my coworkers used to make this mistake over
and over again:

  for(i=0;i<MAX;i++);
   {
    ....
   }

After helping him finding the superfluous ";" several times, i was
close to writing a script for this purpose. Then he quit the company
and i didn't have to write it.

--
Dipl.Inform. Dirk-Ulrich Heise
hei at adtranzsig.de
dheise at debitel.net





More information about the Python-list mailing list