@@new
Boris Zbarsky
bzbarsky at MIT.EDU
Wed Jun 18 06:52:01 PDT 2014
On 6/18/14, 3:40 AM, Dmitry Soshnikov wrote:
> Personally I think two traps are more intuitive and convenient (and are
> present in many other languages: C++, Ruby, etc)
C++ has the sorts of restrictions on calling the superclass constructor
(have to do it up front, can't skip doing it) that the @@new proposal
has, no?
> and that "parent constructor should always be called"
> is a subjective, and just one of the semantics.
While true, I'd like to see a concrete proposal about how we actually
proceed with making the web platform subclassable in the @@create world.
Whereas in the @@new world subclassibility by default is at least
somewhat viable...
-Boris
More information about the es-discuss
mailing list