new instantiation design alternatives

Claude Pache claude.pache at
Tue Sep 16 07:09:36 PDT 2014

Le 15 sept. 2014 à 01:23, Brendan Eich <brendan at> a écrit :

> Separately I agree `this = new super(x, y);` is just crazy long and very likely to be left out in whole or in part (the `new`).

It is just a question of culture. It is still shorter than `parent::__construct(x, y)` you should type PHP, and which I never have imagined to complain about (and there are many things to complain about in PHP!), because it describes exactly what you mean (nothing more, nothing less) in few words.


More information about the es-discuss mailing list