[Satirical] Breaking News: The inverted result type!
Richard (Rikki) Andrew Cattermole
richard at cattermole.co.nz
Tue Jun 30 03:49:39 UTC 2026
On 30/06/2026 8:20 AM, Dom Disc wrote:
> 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```
That is ok, on this thread we care about having neither.
More information about the Digitalmars-d
mailing list