[plt-scheme] Object system vs. closures

From: Grant Rettke (grettke at acm.org)
Date: Tue Mar 11 10:38:57 EDT 2008

On Tue, Mar 11, 2008 at 9:17 AM, Matthias Felleisen
<matthias at ccs.neu.edu> wrote:
>  you should design your object
>  system so that the closures are hidden and disjoint from real
>  closures.

Roughly, how does one do that?

> Otherwise someone (you older, some non-oo pieces of your
> large system) may end up treating your objects as closures and just
> invoke them.

How would the object respond were someone to do this? Up to the implementer?


Posted on the users mailing list.