new instantiation design alternatives

Claude Pache claude.pache at gmail.com
Thu Sep 11 15:21:04 PDT 2014


Le 12 sept. 2014 à 00:03, Brendan Eich <brendan at mozilla.org> a écrit :

> Ob. bikeshed: why not `new?` as the magic pair of tokens? Seems unambiguous given `new` as a reserved identifier since dayone.

If one day we introduce the so-called existential operator `foo?.bar`, it will be quite confusing to already have `new?.constructor` for something else.

—Claude


More information about the es-discuss mailing list