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

snow jhon sportsdz25 at gmail.com
Thu Oct 3 22:53:55 UTC 2019


On Tuesday, 1 October 2019 at 20:26:14 UTC, Dennis wrote:
> On Tuesday, 1 October 2019 at 19:23:00 UTC, Murilo wrote:
>> [...]
>
> I used to program in a language (GML) that allowed both.
> I always preferred `not`, `and` and `or` over the symbols `!`, 
> `&&` and `||`.
> That being said, adding the keywords when the symbols are 
> already the standard is more harm than good.
>
> [...]

Personally, I think this would make the code less readable; the 
current way creates more of a distinction between operators and 
operands.


More information about the Dlang-internal mailing list