Path: utzoo!utgpu!water!watmath!jagardner
From: jagardner@watmath.waterloo.edu (Jim Gardner)
Newsgroups: comp.lang.c
Subject: Re: Unnecessary parenthesis
Message-ID: <19782@watmath.waterloo.edu>
Date: 8 Jul 88 05:04:33 GMT
References: <326@marob.MASA.COM> <2550075@hpisod2.HP.COM>
Reply-To: jagardner@watmath.waterloo.edu
Organization: U. of Waterloo, Ontario
Lines: 16

In article <2550075@hpisod2.HP.COM> decot@hpisod2.HP.COM (Dave Decot) writes:
>> >	return(0);	/* one wonders why the () are there */
>> 
>> 1) Because it looks consistent.
>
>With what?  Why do you want to make it easier to confuse function calls
>with statements that don't come back?

consider exit() and abort()

>I use "return e;" because it's less cluttered and more
>distinct.

I use return( e ) because the parens highlight the return value.
I have no problem reading either, and I suspect most people have no
problem with either.