[Satirical] Breaking News: The inverted result type!
Dom Disc
dominikus at scherkl.de
Mon Jun 29 20:20:07 UTC 2026
On Saturday, 27 June 2026 at 11:12:02 UTC, Kapendev wrote:
> On Saturday, 27 June 2026 at 10:53:42 UTC, monkyyy wrote:
>> [...] use opCast bool before even consider designing around
>> truthyness
>
> I don't like using opCast :)
Instead of ```cast(bool)x``` you can use the much more writeable
(but unfortunately not as readable) ```!!x```
More information about the Digitalmars-d
mailing list