Converting an existing object to a proxy

Cormac Flanagan cormac at cs.ucsc.edu
Fri May 27 10:58:17 PDT 2011


On Fri, May 27, 2011 at 2:26 AM, David Bruant <david.bruant at labri.fr> wrote:
> On Thu, May 26, 2011 at 5:04 PM, Cormac Flanagan <cormac at cs.ucsc.edu> wrote:
>> A design goal is that for any object that could be proxified,
>> we can replace it with a proxy in a way that is semantically transparent.
>
> If you provide the ability to put any functions in the handler object, there
> in no such thing as "semantically transparent". The handler methods can do
> whatever they wants; they are functions.

What I meant was that by writing the handler functions in the appropriate way,
we can create a proxy that is semantically transparent -- not that all proxies
must be semantically transparent.

- Cormac


More information about the es-discuss mailing list