octave-maintainers
[Top][All Lists]
Advanced

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

Re: Function handles for nonexisting functions


From: John W. Eaton
Subject: Re: Function handles for nonexisting functions
Date: Thu, 23 Apr 2009 00:20:55 -0400

On 22-Apr-2009, Judd Storrs wrote:

| It seems to that in the older version, if the handle was invalid at creation
| it remains invalid always. The newer version seems to have added an extra
| lazy evaluation in the case of invalid handles i.e. Matlab will try to find
| a function in the evaluation scope at the time of evaluation before failing.
| The new new behavior is probably useful for rapid prototyping.

That part I don't have a problem with.  It's the part about how and
when the definition can change when the referenced function changes,
and the fact that the rules seem to be different depending on whether
the function is found when the function handle is created, via a
relative or absolute directory lookup.  I don't like all the apparent
special cases.

jwe


reply via email to

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