Another idiom I wish were gone from phobos/druntime
Nick Treleaven via Digitalmars-d
digitalmars-d at puremagic.com
Thu Feb 5 05:10:05 PST 2015
On 05/02/2015 01:50, H. S. Teoh via Digitalmars-d wrote:
> On Thu, Feb 05, 2015 at 01:34:47AM +0000, deadalnix via Digitalmars-d wrote:
>> >On Thursday, 5 February 2015 at 01:07:56 UTC, Andrei Alexandrescu wrote:
>>> > >Would introduce an exception to our brace-on-its-line rule.
> Which is already blatantly violated everywhere in single-line functions.
We really should support => syntax for these instead, they are very
common. Consistent with lambdas.
More information about the Digitalmars-d
mailing list