ES6 classes: deferring the creation step
claude.pache at gmail.com
Mon Jun 30 09:12:50 PDT 2014
Le 29 juin 2014 à 00:36, Domenic Denicola <domenic at domenicdenicola.com> a écrit :
> This looks nice to me as well. But given the length I had trouble internalizing in what externally-visible ways it would change the status quo, especially with the optional @@create addition. The writeup as-is is very spec-language-focused. Would it be simple to summarize that for us?
I plan to rewrite new version of the proposal very soon, with a less spec-language-oriented description (and with some amendments for better handling edge cases).
The problem of observability of created-but-not-initialised instances is not exactly solved in presence of the @@create hook.
I think that the main interest is that without that hook, subclassing does work *and* the aforementioned problem is solved.
More information about the es-discuss