Unnecessary parenthesis

Walter Murray walter at hpcllz2.HP.COM
Sat Jul 9 04:22:13 AEST 1988


Dave Decot writes:

>Return is not a function call, and it shouldn't look like one.

I agree, and I don't use parentheses there.  But how do people feel
about sizeof, which is also not an operator and does not require
parentheses when its operand is an expression?  I hate to use
them, but it seems they always improve readability in that case.
Am I just braindamaged from too much Pascal?

Walter Murray



More information about the Comp.lang.c mailing list