Parenthesis

Kevin Bealer kevinbealer at gmail.com
Fri Dec 22 18:25:09 PST 2006


Others have commented on aesthetics.  I think the real problem is the syntax.
Dropping the parenthesis makes it ambiguous.

if a == b * c - d;

is it:

if (a == b * c) { - d };

or

if (a == b) { * c - d };

Kevin



More information about the Digitalmars-d mailing list