Subject: Re: Parentheses and KNF
To: Brian C. Grayson <bgrayson@marvin.ece.utexas.edu>
From: Ted Lemon <mellon@hoffman.vix.com>
List: current-users
Date: 08/19/1998 17:40:22
> /*
> * Unary operators don't require spaces, binary operators do. Don't
> * use parenthesis unless they're required for precedence, or the
> * statement is really confusing without them.
> */
> a = b->c[0] + ~d == (e || f) || g && h ? i : j >> 1;
>
> Can _anyone_ parse that in 5 seconds or less, or should
> the comment and the example be changed/updated? :)
This, I would say, is bogus. The phrase "eschew obfuscation" comes
to mind...
_MelloN_