Re: Closures versus objects
Mike Newhall <[email protected]>
| Newsgroups | gmane.comp.lang.lightweight |
|---|---|
| Message-ID | <[email protected]> |
At 11:50 PM 2/17/2007 -0500, Daniel Yoo wrote: >> >> 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 > No, thanks, looks interesting.