[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-patch-tracker] [patch #9063] Add function decic
From: |
Carlo de Falco |
Subject: |
[Octave-patch-tracker] [patch #9063] Add function decic |
Date: |
Mon, 1 Aug 2016 08:43:23 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:47.0) Gecko/20100101 Firefox/47.0 |
Follow-up Comment #1, patch #9063 (project octave):
Francesco,
There is no need to use nested functions, especially
as they are problematic to work with as shown by bug #39257 .
But even if they did work correctly I find the scoping rules
of nested functions confusing and I think they lead to code that
is difficult yo understand and debug.
Can you please rewrite this using parametrized subfunctions [1,2]
instead?
c.
[1] http://wiki.octave.org/Cookbook#Parametrized_Functions
[2] http://it.mathworks.com/help/matlab/math/parameterizing-functions.html
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/patch/?9063>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-patch-tracker] [patch #9063] Add function decic,
Carlo de Falco <=