On Sunday, 22 June 2014 at 06:27:52 UTC, Suliman wrote:
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.
Less code make code more easy to read. I do not think that such
reduce amount of code make code-understanding harder.
I am sure that in Dart 80% (or even more) programmers will use
reduced constructor.
Part of my problem with this proposal is that its use case is
very narrow and limited to this specific scenario. If you (or
somebody) could generalize it so it has more use cases, then I
might support it.