On Oct 30, 2011, at 11:11 PM, Brendan Eich wrote:

> I searched a bit and re-read Smalltalk, Self, Cecil, and Io docs to get a 
> handle on what <| does. It is not 'clone'.

It's not 'copy' (Self) either, clearly.


> It ain't 'create' except in a vacuous sense that's also already "taken" by 
> ES5 Object.create. It isn't "subsuming" in my view. "refinedBy" is closer but 
> you'll get camelCaps keywords into JS over my dead body!
> 
> I landed on 'beget' because 'create' is close but vague yet poisoned, and we 
> need something pithy.

Also, 'beget' does match the "sire" or "hatch" connotation of taking a parent 
(Self again) object and differentialy inheriting another object from it via 
proto-linking. Clone means make a twin and mutate. Copy is, well, just a copy 
-- arguably close to clone and one char shorter (so Self chose well). What we 
have with <| is more like "generate a child" -- hence, 'beget'.

/be

_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to