octave-maintainers
[Top][All Lists]
Advanced

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

Re: undefined compound chaining behavior


From: Hossein Sajjadi
Subject: Re: undefined compound chaining behavior
Date: Tue, 10 Jun 2014 21:51:59 +0330

> 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"

>
> The origin of this thread was your concern that Octave's order of
> evaluation might be undefined like C and C++. We have shown that it is
> in fact defined and well-behaved.

No one show me that, I think the c++ source code should be checked.

Hossein



reply via email to

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