Order of evaluation for named arguments
Walter Bright
newshound2 at digitalmars.com
Tue Apr 1 18:58:08 UTC 2025
On 3/31/2025 7:46 AM, Timon Gehr wrote:
> On 3/30/25 23:04, Paul Backus wrote:
>> It will also silently *fix* existing code that was written under the
>> assumption that the spec was correct.
If they didn't realize their code was producing the wrong results before, I
don't see how they'd realize it was producing correct results later.
> I am also just not a big fan of accident-driven language design where compiler
> bugs are codified into the spec.
Breaking existing code has repeatedly driven people away from D.
The difficulty with making this change is there's no way to detect if there is a
conflict, unless there's an additional requirement that the arguments be pure.
More information about the Digitalmars-d
mailing list