Changing the behavior of the comma operator

Steven Schveighoffer schveiguy at yahoo.com
Wed Mar 26 19:12:03 PDT 2014


On Wed, 26 Mar 2014 13:27:17 -0400, Andrei Alexandrescu  
<SeeWebsiteForEmail at erdani.org> wrote:

> On 3/26/14, 7:39 AM, Steven Schveighoffer wrote:

>> Frequently, I have situations where I do not put a comma on the last
>> element.
>
> Big mistake :o). -- Andrei

A trailing comma in a list looks so wrong to me :) It looks like an  
unfinished declaration. I just as frequently have trailing commas because  
I delete the last element and forget to remove the comma on the "new" last  
element :D

-Steve


More information about the Digitalmars-d mailing list