Re: Closures versus objects

Daniel Yoo <[email protected]>
Newsgroups gmane.comp.lang.lightweight
Message-ID <[email protected]>
>
> 	For example, there is no reason in theory one could not
> 	dynamically add fields (bindings) to a closure after it is
> 	created, or methods, but I'd be willing to bet that not all
> 	implementations of closures allow this sort of thing, for
> 	efficiency reasons if nothing else.  If you need that in your OO
> 	system, you're out of luck.  But that's a limitation of the
> 	closure implementation, not the concept.

Have you seen "Object Oriented Style" by Dan Friedman, by the way?

     http://www.cs.indiana.edu/~dfried/ooo.pdf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.