On Sep 29, 2011, at 11:34 PM, Allen Wirfs-Brock wrote: >> I still find implicit primitive wrapping where the wrapper is observable >> raises my hackles. Anyone feel the same? > > Yes, but we have them and I don't seen anyway to eliminate them.
AFAIK, "we have them" is false in ES5 -- implicitly created primitive wrappers do not escape, and engines do optimize them away. With <| you could argue you're not leaking the wrapper, rather a clone it, but that's easily optimized to avoid the clone, and in any case the hackle-raising thing is the implicit primitive wrapper "escaping". Maybe I'm overreacting, though. /be _______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

