Feature request: extending comma operator's functionality

Jonathan M Davis jmdavisProg at gmx.com
Thu Oct 4 16:38:39 PDT 2012


On Thursday, October 04, 2012 23:56:15 Tommi wrote:
> > As it stands, there's a good chance that the comma operator is
> > actually going to be _removed_ from the language (aside from
> > specific use cases such as inside for loops). So, I don't think
> > that there's much chance of it being expanded at all.
> 
> I don't see a problem there. I mean, if the comma operator is
> kept in specific cases like inside for loop, why not keep (and
> expand it's use) it in this specific case of if-clause.

You will have a hard sell with _anything_ involving commas other than tuples. 
Most people consider anything like the comma operator to be evil (or at least 
very undesirable).

- Jonathan M Davis


More information about the Digitalmars-d mailing list