Pascal J. Bourguignon wrote:
> Brian Candler <b.candler / pobox.com> writes:
> 
>> Pascal J. Bourguignon wrote:
>>> Why did you think you could program without parentheses?
>>
>> Probably because the OP's way of initialisation is natural to a C 
>> programmer.
> 
> But C has its own precendence pitfalls.  To be on the safe side,
> always put parentheses everywhere.

In my experience, using the comma operator in expressions (especially 
multiple assignments) is a very standard C idiom, and the comma operator 
has such low precedence that it isn't a problem.

  for (a=1, b=1; a < 100; t=b, b=a+b, a=t) { ... }

You don't like infix operators. We don't like parentheses. I think we 
should just agree to disagree.
-- 
Posted via http://www.ruby-forum.com/.