Comma operator = broken design

Timon Gehr timon.gehr at gmx.ch
Fri Dec 9 05:47:14 PST 2011


On 12/09/2011 02:33 PM, Regan Heath wrote:
> On Fri, 09 Dec 2011 13:01:12 -0000, Timon Gehr <timon.gehr at gmx.ch> wrote:
>> On 12/09/2011 01:11 PM, Regan Heath wrote:
>>> On Fri, 09 Dec 2011 12:00:57 -0000, Timon Gehr <timon.gehr at gmx.ch>
>>> wrote:
>>>> On 12/09/2011 10:26 AM, Jonathan M Davis wrote:
>>>>> On Friday, December 09, 2011 10:19:18 Don wrote:
>>>>>> Are there any cases where you're using comma outside of for loops?
>>>>>> I wonder how much would break if were made illegal everywhere else.
>>>>>
>>>>> I'm sure that it would break code, but most people consider it bad
>>>>> practice to
>>>>> use the comma operator for much outside of for loops.
>>>>
>>>> 'most people'?
>>>
>>> Yes, I would guess that you're in the minority here.
>>>
>>
>> 'most people' do not care about this discussion, so lets stop it. :o)
>
> Sure.
>
>>> So it seems :)
>>
>> If you carefully read my posts you will find that I did never say that
>> I am against removing the comma operator.
>
> Excellent.
>
>>> I don't want to make your life harder but I think this
>>> change would make life easier for a large number of people, a small
>>> amount of the time. The equation is unbalanced in favour of it's
>>> removal, IMO.
>>>
>>
>> This part of your post is somewhat contradictory.
>
> How so?
>
> R
>

Removing the comma operator makes my life harder. You don't want to do 
so. You want to remove the comma operator. Conclusion: Today is Monday.





More information about the Digitalmars-d mailing list