shorter alternative of constructor with parameter
Xinok via Digitalmars-d
digitalmars-d at puremagic.com
Sat Jun 21 12:16:47 PDT 2014
On Saturday, 21 June 2014 at 18:57:25 UTC, Suliman wrote:
>>and save syntactic sugar for more useful features.
> How not implementing this future will help to save syntactic
> sugar?
I mean to use syntactic sugar sparingly, not for minor features
like this. The trouble is that it makes code non-verbose, which
would make D code more difficult to read for those unfamiliar
with the language.
More information about the Digitalmars-d
mailing list