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 10:52:21 -0400

On Tue, Jun 10, 2014 at 16:42:25 +0330, Hossein Sajjadi wrote:
> By introduction of compound assignment in Octave it is intended to be
> an improvement regards to Matlab but this introduce other issuses such
> as violation of referential transparency.

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.

> I think the rules, if there are any rules, should be updated.

There are rules, as I think it's been made clear here. It also seems
clear from the responses you have gotten that many others find the
current behavior more correct, so I think you are in the minority.

Thanks for the discussion,

-- 
mike



reply via email to

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