octave-maintainers
[Top][All Lists]
Advanced

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

Re: undefined compound chaining behavior


From: Mike Miller
Subject: Re: undefined compound chaining behavior
Date: Tue, 10 Jun 2014 13:52:00 -0400

On Tue, Jun 10, 2014 at 20:07:36 +0330, Hossein Sajjadi wrote:
>  As I say to Michael Goffioul this expression is not correct ,becuase
> order of evaluation that where guaranteed to be left to right is
> violated

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.

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. Now you assert that Octave's order
of evaluation is incorrect because the behavior is not the same as
certain other languages.

I'll leave it at that, agree to disagree. I only joined this
discussion because I thought there might be a misunderstanding or that
you weren't getting the answer you were looking for.

-- 
mike



reply via email to

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