flagging unsigned subtraction assigned to bigger signed number?

Steven Schveighoffer schveiguy at gmail.com
Thu May 22 01:27:16 UTC 2025


On Wednesday, 21 May 2025 at 23:07:20 UTC, Walter Bright wrote:
> On 5/21/2025 12:43 PM, kdevel wrote:
>> On Wednesday, 21 May 2025 at 04:44:35 UTC, Walter Bright wrote:
>>> but one could argue it's a bit too clever.
>> 
>> Looks okay. Or is the `reverse` part of the cleverness? I mean 
>> the
>> ordinary (forward) foreach also seem to work.
>
> It's "clever" because it isn't clear why it is structured this 
> way.

It's so clever, in fact, that it doesn't work. I'll let you 
discover why.

-Steve


More information about the Digitalmars-d mailing list