Can we drop casts from float to bool?
bearophile
bearophileHUGS at lycos.com
Wed Mar 24 07:45:57 PDT 2010
Don:
> But more importantly, I cannot see any reason to try. I cannot see any
> reason why the if (x) syntax is desirable for floats. I can see many
> downsides and opportunities for bugs, but I cannot see ANYTHING good
> about it at all. It's a silly thing to have in the core language.
>
> We don't need it. Get rid of it.
OK :-)
Thank you.
Bye,
bearophile
More information about the Digitalmars-d
mailing list