Dual conditions in D and Python
Dennis Ritchie via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Thu May 21 10:35:34 PDT 2015
On Thursday, 21 May 2015 at 17:17:29 UTC, Alex Parrill wrote:
> http://wiki.dlang.org/Language_Designs_Explained#Why_does_D_not_support_chaining_comparison_operators.3F
Backward compatibility with C is nice but on the other hand it is
a road to nowhere!
Because of this compatibility, I'm compelled to write return
instead of ret and else if instead of elif :)
I think to create a truly correct C++, it was necessary to
completely abandon the backward compatibility with C.
More information about the Digitalmars-d-learn
mailing list