Parenthesis

NN nn-mail at bk.ru
Thu Dec 28 14:41:25 PST 2006


>The reason that every programming language has some way of explicitly
>separating the conditional expression from the body statement is that
>doing the separation implicitly allows too much room for confusion.

IMHO if someone wants to write parenthesis, he can do it without any problems.
I see no room for confusion:

if a == b && c == d
{
 writefln("Equal");
}
else
{
 writefln("Not Equal");
}



More information about the Digitalmars-d mailing list