Killing the comma operator

Andy Smith via Digitalmars-d digitalmars-d at puremagic.com
Tue May 10 15:08:44 PDT 2016


On Tuesday, 10 May 2016 at 21:33:47 UTC, Stefan Koch wrote:
> On Tuesday, 10 May 2016 at 21:30:35 UTC, Timon Gehr wrote:
>> Kill it.
>
> I agree.
> There is always another way.

+1 for killing.

If there's a language feature that allows someone of Ali's 
calibre to write some code expecting one behaviour whilst under 
the hood receiving a completely different behaviour then I think 
that's a clear case for removing and/or ring-fencing said 
feature, since it clearly violates the principle of least 
surprise.

If it can trip up Ali then we mere mortals are clearly doomed!!!! 
  :-)

Cheers,

A.











More information about the Digitalmars-d mailing list