[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
- Re: undefined compound chaining behavior, (continued)
- Re: undefined compound chaining behavior, Hossein Sajjadi, 2014/06/13
- Should "ans" include all side effects?, Daniel J Sebald, 2014/06/13
- Re: Should "ans" include all side effects?, Daniel J Sebald, 2014/06/13
- Re: Should "ans" include all side effects?, Daniel J Sebald, 2014/06/13
- Re: undefined compound chaining behavior, Stefan Seefeld, 2014/06/12
- Re: undefined compound chaining behavior, Hossein Sajjadi, 2014/06/13
- Re: undefined compound chaining behavior,
Benjamin Abbott <=
- Re: undefined compound chaining behavior, Hossein Sajjadi, 2014/06/10
- Re: undefined compound chaining behavior, John W. Eaton, 2014/06/10