Discussion Thread: DIP 1043--Shortened Method Syntax--Final Review
rikki cattermole
rikki at cattermole.co.nz
Tue Jun 28 13:43:42 UTC 2022
On 29/06/2022 1:38 AM, welkam wrote:
> Thank you for providing excellent example for an argument against this DIP.
The code that you are quoting is already valid D.
```d
string name() => "abc";
double calculateArea() => 5.3f;
```
This is not and will be with this DIP.
It is extending existing syntax to a place where it should have been
supported all along.
More information about the Digitalmars-d
mailing list