Overriding Map/etc with get/set hooks?

Brendan Eich brendan at mozilla.com
Tue May 21 03:25:29 PDT 2013


Sam Tobin-Hochstadt wrote:
> If the plan is to do that, then you should_not_  use Map.  That isn't a Map.

But that doesn't need to be a proxy, either. It's something with a 
signature that could be the same as Map's, but with different semantics. 
I sense people have trouble drawing the line on "is-a". LSP gets invoked 
but doesn't help. Any better razor, or butterknife?

/be


More information about the es-discuss mailing list