Roger Hui wrote:
> Memoization will indeed be in J6.02.  See
> http://www.jsoftware.com/jwiki/Essays/Memoization
>
I'm glad to hear it: I think this a useful step.

> I think your beef is against "loopy" or conditional
> code on small amounts of data, traditionally a
> weak area in the APL language family, and less
> so against recursion.
>

After rereading what I wrote, I see that this is indeed what I am
complaining about.  The issue is exposed by recursion, since there must be
some conditional code to separate the base case from the recursive case. 
If I can see how to do it, I try to replace recursion with a forward
method in which the recursive case is guaranteed to be computed, and
memoization makes this a lot easier.

Best wisehs,

John

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to