Unnecessary parenthesis

Jay "you ignorant splut!" Maynard jay at splut.UUCP
Wed Jul 6 12:57:54 AEST 1988


In article <8209 at brl-smoke.ARPA> gwyn at brl.arpa (Doug Gwyn (VLD/VMB) <gwyn>) writes:
>	return 0;		/* intuitive */

To a FORTRAN programmer.

>	return(0);	/* one wonders why the () are there */

1) Because it looks consistent.
2) It's intuitive to a converted Pascal or PL/I programmer.
3) The programmer has gotten used to putting parentheses around just about
   everything.

-- 
Jay Maynard, EMT-P, K5ZC...>splut!< | Never ascribe to malice that which can
uucp:       uunet!nuchat!           | adequately be explained by stupidity.
   hoptoad!academ!uhnix1!splut!jay  +----------------------------------------
{killer,bellcore}!tness1!           | Birthright Party '88: let's get spaced!



More information about the Comp.lang.c mailing list