C style peeve (Yo people, try reading carefully next time!)

Raymond Chen raymond at hilbert.berkeley.edu
Mon Mar 19 14:53:57 AEST 1990


In article <2205 at osc.COM>, jgk at osc.COM (Joe Keane) writes:
> It's a shame the compiler lets them get away with it, and i think the extra
> parentheses should be strictly illegal. ...

In many subsequent articles people reply:
> [ You blathering idiot!  The thing after the "return" keyword
>   is an expression, and the last time I checked, an expression
>   enclosed in parentheses is still an expression. ]

Unfortunately, those people went off half-cocked and didn't finish
reading Mr. Keane's article.  His last sentence is particularly
illuminating:

>                                              Oh yeah, the second paragraph
>is completely false.

'Nuff said.
--
raymond at math.berkeley.edu     Maintainer of the csip Frequently Asked Questions



More information about the Comp.lang.c mailing list