D Properties when?
Timon Gehr
timon.gehr at gmx.ch
Sun Dec 17 08:41:45 UTC 2023
On 12/15/23 13:15, Dom DiSc wrote:
> On Thursday, 14 December 2023 at 18:52:03 UTC, Timon Gehr wrote:
>> https://wiki.dlang.org/DIP24
>>
>> Doing those right is a breaking change, so maybe with editions.
>
> Sorry,
No worries, it does not offend me.
> this would break only code that was already broken.
Personally, I am all for breaking code, but my understanding is we are
no longer engaging in that until editions are set up.
> So should not hinder us to implement it.
I think the main hindrances to implementing it are:
- You need to understand what is the correct fix. (I think it is obvious
but somehow people still seem to have different views on this.)
- You need to figure out the relevant DMD code (which could be _a lot_
of separate locations) and actually fix it.
- The changes are unlikely to make it in before editions, at which point
you will have to update the changes in order to be compatible with editions.
But by all means, go ahead. Just be prepared for a bit of a headache
while getting it to work and to then repeatedly rebase highly sprinkled
out changes for a significant duration of time and/or to reimplement it
multiple times.
More information about the Digitalmars-d
mailing list