Discussion Thread: DIP 1043--Shortened Method Syntax--Community Review Round 1
rikki cattermole
rikki at cattermole.co.nz
Sat Feb 5 14:16:37 UTC 2022
On 06/02/2022 3:10 AM, Paul Backus wrote:
> So, allowing it for named functions too is a logical extension of a
> language feature that already exists.
Yes.
A lot of the point of this DIP is to make D more consistent.
For stuff like this you should be able to guess that a feature exists
and the language is like yup! It totally does the thing you think it does.
In a lot of ways this simplifies D, as it no longer has a special case
where this is syntax is possible.
More information about the Digitalmars-d
mailing list