if(;){} opinion

Lionello Lunesu lio at remove.lunesu.com
Mon Feb 27 02:24:38 PST 2006


> if (m = foo())

This one is tricky, since the programmer might have meant "==", but an 
explicit declaration might take care of that, I mean, one would be forced to 
add the type or "auto".

Talking of which: when is that "auto" ambiguity going to be resolved? (I 
still prefer "var" to "auto", but then again the RAII "auto" could use a 
rename too)

L. 





More information about the Digitalmars-d mailing list