Order of evaluation for named arguments
Dennis
dkorpel at gmail.com
Thu Apr 3 18:28:57 UTC 2025
On Thursday, 3 April 2025 at 17:08:57 UTC, Timon Gehr wrote:
> Those are all language warts.
That's a fair position, but it changes some key facts.
This is no longer about an accident in the implementation of the
recently added named arguments being codified in the spec.
Instead, it's cementing a de-facto standard from since the
beginning of dmd. A bad standard, but it's not trivial to revert
it everywhere. Given that we all seem to agree that argument
evaluation order is more about convenience than being a key
ingredient for correct programs, that should help you understand
Walter's decision making.
More information about the Digitalmars-d
mailing list