and/or/not/xor operators
ixid
nuaccount at gmail.com
Fri May 31 13:26:56 PDT 2013
> We really don't want D to become a TMTOWTDI language. Ideally
> there should be 1 right way and no alternatives. That way,
> anyone who knows D will have a greater chance of knowing what
> any given code sample does, and not have to look up alternate
> syntax etc.
>
> R
Up to a point I'd certainly agree with that, however in this case
I think the advantages outweigh the penalty. These operators are
self-documenting, no one will need to look up 'and' and gain
readability, language accessibility and beauty.
More information about the Digitalmars-d-learn
mailing list