Implies operator

%u renosky at free.fr
Sun Nov 19 04:54:19 PST 2006


>Wouldn't it be nice to have an ''implies'' operator?

I'm not so sure: many people forget that in 'x imply y', if x is False then 'x
imply y' is True, they use imply as an equivalent of and.

At least with !x || y, there is no such error.

In theory imply is not ambiguous, in practice it is, so we should avoid it.

RenoX



More information about the Digitalmars-d mailing list