Kris Zyp wrote:
> I certainly hope not. A fundamental requirement of class sugar should
> be that it properly leverages "new".

Why? Using a factory function is strictly more flexible than using
'new' (even in Java).

If 'new' is supported, then "new Foo(...)" should be equivalent to
"Foo(...)" when Foo is defined using the class sugar, IMHO.

-- 
David-Sarah Hopwood ⚥

_______________________________________________
Es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to