If you could make any changes to D, what would they look like?
kyle at kyle.kyle
Thu Oct 21 17:37:55 UTC 2021
On Thursday, 21 October 2021 at 14:33:02 UTC, 12345swordy wrote:
> On Wednesday, 20 October 2021 at 18:45:42 UTC, kyle wrote:
>> On Wednesday, 20 October 2021 at 09:47:54 UTC, SealabJaster
>>> If you could make any changes to D, what would they look like?
>> I want some non-ridiculous way to use +=, -=, *=, etc with
>> property functions. Whether that's with @property or
>> otherwise. And I want
>> https://issues.dlang.org/show_bug.cgi?id=21321 (Class with
>> unimplemented interface method compiles, links, then
>> segfaults, if inherited through abstract base class) fixed.
> I have a PR request that address this, if you want to check it
Looks like it would be a great quality of life change along with
Adam's "Implement shortened methods with => syntax" (#11833) PR.
I'm curious exactly what is meant by "Disallow parameters for
property functions". Does that mean the only allowed parameter is
1 in the setter? C# pays my bills and implementing properties
with it is a rare thing that I find much nicer about C# than D,
and these 2 PRs would bring D much closer there. Thanks for your
More information about the Digitalmars-d