|
From: | Michael Goffioul |
Subject: | Re: undefined compound chaining behavior |
Date: | Tue, 10 Jun 2014 12:15:07 -0400 |
> Well, an assignment or any other _expression_ that has side effects is
> not referentially transparent, that's the way it is. Octave is not a
> functional language.
>
Yes, Octave is not a functional programming language, but as an
imperative language it is necessary to guarantee the order of
evaluation or define sequence point as c++ do. Also as a language
specially designed for mathematical computations such a behavior is no
acceptable.
Simply changing the manual and notice the user about behavior of
chaining without any theroretical backend(order of evaluation or
sequence point) does not resolve the issue.
[Prev in Thread] | Current Thread | [Next in Thread] |