From: nathan at islanddata.com (Nathan Clegg)
Date: Fri, 30 Apr 1999 09:32:46 -0700 (PDT)
Subject: while (a=b()) ...
In-Reply-To: <372942B5.729506A6@inka.de>
Message-ID: <XFMail.990430093246.nathan@islanddata.com>
X-UID: 806                                                  

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






