brendan at mozilla.org
Thu Feb 21 10:19:04 PST 2008
On Feb 21, 2008, at 7:47 AM, Neil Mix wrote:
> Another thought: does ES4 provide enough introspection capability to
> write proxy objects that wrap an immutable class instance? It seems
> as though it should be possible to create a single class (with *
> getter/setter functions) that can wrap any object, emulate its
> interface and provide AOP advice capabilities. If this is indeed
> possible, would that prove useful for the situations Kris is
> concerned about?
Sure, at the price of loss of identity. That may break AOP use-cases.
More information about the Es4-discuss