Does D have too many features?
deadalnix
deadalnix at gmail.com
Mon Apr 30 09:23:40 PDT 2012
Le 30/04/2012 18:13, Peter Alexander a écrit :
> On Monday, 30 April 2012 at 15:35:19 UTC, H. S. Teoh wrote:
>> So far, I've not seen a single response in favor of keeping the comma
>> operator.
>
> Very few want it, but as a practicality, it would be unwise to remove it
> (would break an awful lot of code).
>
Some have proposed that comma operator could create tuples. If void
members in tuples are automagically skipped, this won't break that many
code.
A first step in that direction would be to deprecate comma expression
where expressions before the last one have not type void.
More information about the Digitalmars-d
mailing list