[ABE.pm] non-trivial closure examples?

Faber J. Fedor faber at linuxnj.com
Fri Aug 8 14:47:55 PDT 2008


On 08/08/08 15:52 -0400, Ricardo SIGNES wrote:
> * "Faber J. Fedor" <faber at linuxnj.com> [2008-08-08T13:57:52]
> > I've got the canonical example of a closure, now I'm looking for
> 
> Make sure you explain closures first.  Java doesn't have them.

Really?  I was under the impression they could do them but the syntax is
horrible. Unfortunately, I can't find the reference right now.

> > Memoize would not be a good example since I would have to explain
> > everything Memoize is trying to accomplish..
> 
> Memoize is a pretty good example.  All you have to explain is how it makes
> fibbonacci faster.

I'm sure that's high on their to-do list. :-)

-- 
 
Regards,
 
Faber Fedor
President
Linux New Jersey, Inc.
908-320-0357
800-706-0701

http://www.linuxnj.com





More information about the ABE-pm mailing list