Killing the comma operator

H. S. Teoh via Digitalmars-d digitalmars-d at puremagic.com
Fri Jun 10 12:12:55 PDT 2016


On Fri, Jun 10, 2016 at 05:11:59PM +0000, Andrei Alexandrescu via Digitalmars-d wrote:
> On 6/10/16 1:02 PM, Mathias Lang wrote:
> > On Thursday, 12 May 2016 at 10:29:36 UTC, Andrei Alexandrescu wrote:
> > > Before we get lost in the discussions, let's act on this by
> > > disallowing taking the result of the comma operator. Yes there is
> > > potential breakage (via typeof as Timon noted) but it's likely to
> > > be minimal. Once we have that in place we have more options. Thx!
> > > -- Andrei
> > 
> > Just a quick update on that topic: using the return of a comma
> > operator now yield a deprecation message (using DMD ~master). This
> > will be part of 2.072.0.  Thanks everyone for your feedback !
> 
> That's terrific. Thank you!! -- Andrei

Hooray! One small step in the right direction of killing off the comma
operator for good.


T

-- 
Those who've learned LaTeX swear by it. Those who are learning LaTeX swear at it. -- Pete Bleackley


More information about the Digitalmars-d mailing list