[Dlang-internal] How about `and` and `or` like in Python?

Walter Bright newshound2 at digitalmars.com
Tue Oct 1 04:06:17 UTC 2019


On 9/30/2019 8:35 PM, Murilo wrote:
> On Tuesday, 1 October 2019 at 02:25:11 UTC, Elronnd wrote:
>> Personally, I think this would make the code less readable; the current way 
>> creates more of a distinction between operators and operands.
> 
> But it could be an option, the current way would remain and this extra way would 
> be added as an option.

C++ does this. Nobody uses it.


More information about the Dlang-internal mailing list