Erik Arvidsson (2013-07-17T00:23:08.000Z)
I completely agree with you Allen. new-less construct is an anti pattern.

On Tue, Jul 16, 2013 at 5:13 PM, Allen Wirfs-Brock
<allen at wirfs-brock.com> wrote:
> I understand that fully supporting @@create requires a lot of work but
> until then we should at least throw when called as function to allow
> us to get out of this mess eventually.
>
>
> For background here is how new Foo()  is now supposed to work:
>     let newObj = Foo[@@create]();  //allocate an initialized Foo instance.
>     Foo.call(newObj);                         //initialize the newObject
> )
>
> It's not very complicated.

The semantics and the spec are simple but...

...it does require support for symbols, shared symbols between realms,
updates to new without any perf regression.

--
erik
domenic at domenicdenicola.com (2013-07-19T15:29:05.298Z)
I completely agree with you Allen. new-less construct is an anti pattern.

On Tue, Jul 16, 2013 at 5:13 PM, Allen Wirfs-Brock <allen at wirfs-brock.com> wrote:
> It's not very complicated.

The semantics and the spec are simple but...

...it does require support for symbols, shared symbols between realms,
updates to new without any perf regression.