I still think <| is more straight-forward to grasp to non-native speakers
-- they're likely to have stumbled upon that on UML classes, methinks.
Also, there's the problem of creating new reserved words in the languages,
imho it makes a language feel heavier and clunkier. I think one of the
greatest point of ECMAScript is that, despite the awful amount of reserved
words, the language still manages to be simple and straight forward for
people to grasp, except for a few semantic quirks here and there.

I don't think that evolution and simplicity have to be mutually exclusive.
Languages should strive to hide the perceived complexity from the end-user,
while still managing to be expressive. If we decide on using a keyword for
expressing <|, this word should be as straight-forward and simple to grasp
for both native english-speaking people and non-native english-speaking
people, which I don't think any of the proposed words are =/

2011/10/31 Axel Rauschmayer <[email protected]>

> >> 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'.
>
>
>
> Two more ideas:
>
> const Employee = Person to { ... }  // or any other preposition
> (prepositions are like operators)
> const Employee = Person parents { ... }
>
> --
> Dr. Axel Rauschmayer
> [email protected]
>
> home: rauschma.de
> twitter: twitter.com/rauschma
> blog: 2ality.com
>
>
>
> _______________________________________________
> es-discuss mailing list
> [email protected]
> https://mail.mozilla.org/listinfo/es-discuss
>
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to