Discussion Thread: DIP 1043--Shortened Method Syntax--Community Review Round 1

Kagamin spam at here.lot
Wed Feb 9 13:46:39 UTC 2022


Another single valued method:
```
static string getPipeName(int pid)
{
	return string.Format("{0}-{1}", _baseName, pid);
}
static string getPipeName(int pid) => string.Format("{0}-{1}", 
_baseName, pid);
```
88 and 79 characters, 10% saving.


More information about the Digitalmars-d mailing list