octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: undefined compound chaining behavior


From: Benjamin Abbott
Subject: Re: undefined compound chaining behavior
Date: Tue, 10 Jun 2014 15:02:25 -0400

On Jun 10, 2014, at 2:21 PM, Hossein Sajjadi <address@hidden> wrote:

>> Your opinion is that it is not correct, because Java and C# guarantee
>> left-to-right evaluation of operands and function arguments (as you
>> said at the start of this long discussion). We say it is correct in
>> Octave because the assignment operators evaluate their arguments from
>> right-to-left. Is there anything fundamentally correct or incorrect
>> about one or the other? I don't think so.
> 
> As I understand  you say that order of evaluation in Octave is
> guaranteed to be left to right except in the case of assignment
> operator. If so, it may cause confusion for the users because the user
> encounter with a new concept in the history of programming languages
> say "right to left evaluation"

Aren't assignments always right to left?

Ben



reply via email to

[Prev in Thread] Current Thread [Next in Thread]