Parenthesis
Wolven
rma at wolven.net
Thu Dec 28 16:38:16 PST 2006
== Quote from NN (nn-mail at bk.ru)'s article
> I see no room for confusion:
> if a == b && c == d
> {
> writefln("Equal");
> }
> else
> {
> writefln("Not Equal");
> }
Exactly. Now if you could eliminate the ugly {} and ; like...
if a == b && c == d
writefln("Equal")
else
writefln("Not Equal")
...you would be getting closer to nice looking, easy to read, easy to learn
syntax. :)
More information about the Digitalmars-d
mailing list