Order of evaluation for named arguments

Salih Dincer salihdb at hotmail.com
Sun Mar 30 08:34:40 UTC 2025


On Saturday, 29 March 2025 at 23:03:27 UTC, monkyyy wrote:
> This is a functional vs impertive distinction; math imagines 
> arguments being reduced by algerbra and in that world the call 
> site isnt relivent, but for a machine left to right at the call 
> site is just it doing as told in order.
>
> And Im not saying extra work as in difficult, I mean it 
> functionally the compiler would need to have extra step or do 
> use more storage to make it *less expressive* then the lazy 
> thing.

Monkyyy brought up an excellent mathematical point, which adds 
significant value to the discussion. While Timon provided a 
summary of the two possibilities, I believe that, given the 
mathematical foundations of programming, it would be more 
productive to build upon Monkyyy's perspective rather than 
approaching it solely from a pragmatic standpoint.

SDB at 79



More information about the Digitalmars-d mailing list