Changing the behavior of the comma operator
ixid
nuaccount at gmail.com
Tue Mar 25 13:40:45 PDT 2014
On Tuesday, 25 March 2014 at 19:09:01 UTC, Andrei Alexandrescu
wrote:
> On 3/25/14, 11:33 AM, Meta wrote:
>> Having the comma expression return void is a pretty clever way
>> of
>> disallowing most of its buggy usage. You mentioned in the
>> other thread
>> that we are looking at 5 years or more before the comma
>> operator can be
>> used in tuple expressions. Is that timeline still accurate
>> with these
>> proposed changes?
>
> I'm afraid so. But that's the case regardless.
>
> Andrei
Does this also mean a proper tuple syntax on a par with Go's is
going to wait for five years? That seems too long for what should
be a major feature and would suggest it should be done with
something other than the comma operator.
More information about the Digitalmars-d
mailing list