Should we deprecate comma?

Regan Heath regan at netmail.co.nz
Mon Mar 24 07:49:08 PDT 2014


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

R

-- 
Using Opera's revolutionary email client: http://www.opera.com/mail/


More information about the Digitalmars-d mailing list