Should we deprecate comma?

monarch_dodra monarchdodra at gmail.com
Mon Mar 24 07:51:44 PDT 2014


On Monday, 24 March 2014 at 14:49:09 UTC, Regan Heath wrote:
> On Mon, 24 Mar 2014 11:35:38 -0000, monarch_dodra 
> <monarchdodra at gmail.com> wrote:
>
>> On Monday, 24 March 2014 at 10:57:45 UTC, Regan Heath wrote:
>>> On Sun, 23 Mar 2014 20:56:25 -0000, Andrei Alexandrescu 
>>> <SeeWebsiteForEmail at erdani.org> wrote:
>>>> Discuss: 
>>>> https://github.com/D-Programming-Language/dmd/pull/3399
>>>
>>> Would it have any effect on:
>>>
>>> int *p, q;
>>
>> That's not a comma operator. So no.
>
> That's my Q answered :)
>
>> BTW, I'd *STRONGLY* urge you to write that as:
>> int* p, q;
>>
>> since in D, both "p" and "q" are of type "int*", unlike in C.
>
> I am well aware :p

I thought so :) but this being a forum and all, "bad code" should 
always be tagged as such.


More information about the Digitalmars-d mailing list