while (a=b()) ...
Nathan Clegg
nathan at islanddata.com
Fri Apr 30 12:32:46 EDT 1999
Just because the language allows it doesn't mean you have to program it
that way. You could just as easily:
fd = fopen("whatever", modus);
if (fd == NULL) {
...
which is just as clean as python. A little self-restraint should always
be preferrable over new mandates. Yer talkin' prohibition to stop drunk
driving.
> I havn't any problems with that. Ok it makes C so terse and it's nice
> just to write some stuff but I completly dislike the following.
>
>
> if ((fd = fopen("whatever", modus)) == NULL))
> /* here is error handling */
----------------------------------
Nathan Clegg
nathan at islanddata.com
More information about the Python-list
mailing list