Please remove ?:

Lionello Lunesu lio at lunesu.remove.com
Fri Jun 2 05:57:14 PDT 2006


I just run accross the following code at my work:

#  NoWallCheck?value=_T("0"):value=_T("1");

Took at least a minute to figure out what was going on.

Please remove ?:... It's useless, slow (just like if/else, but looks 
faster since it's so "convenient") and unreadable!

L.

(and removing it will free up the "?" for writefln!! :D)



More information about the Digitalmars-d mailing list