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. /be _______________________________________________ Es4-discuss mailing list Es4-discuss@mozilla.org https://mail.mozilla.org/listinfo/es4-discuss