C style peeve

D'Arcy J.M. Cain darcy at druid.uucp
Mon Mar 19 05:33:37 AEST 1990


In article <2205 at osc.COM> jgk at osc.COM (Joe Keane) writes:
>Here's my biggest C style peeve.  For some reason, many C programmers insist
>on always putting parentheses around return values, even when they're not
>necessary, which happens to be always.  God knows why, but they write
>`return(2+2);' instead of the obvious and K&R-approved style `return 2+2;'.
>
Boy, some people will complain about anything.

-- 
D'Arcy J.M. Cain (darcy at druid)     |   Thank goodness we don't get all 
D'Arcy Cain Consulting             |   the government we pay for.
West Hill, Ontario, Canada         |
(416) 281-6094                     |



More information about the Comp.lang.c mailing list