alex at dojotoolkit.org
Sun Sep 11 17:16:31 PDT 2011
I'm hopeful that type inference combined with class syntax and an (eventual) traits system will get us "there", so that you can use structural type tests for enforcement and that the IDE can get the benefit of hints through inference. That said, I think the "I want to refactor automatically" use-case is sort of over-played.
On Sep 11, 2011, at 4:04 PM, Brendan Eich wrote:
> Type Inference can do a lot. See http://doctorjs.org/.
> We do not want people adding guards all over their code, IMHO. Anyway, we don't know have guards ES6.
> Disclosure: I'm an ajax.org (http://c9.io/) advisor.
> On Sep 11, 2011, at 3:10 PM, Axel Rauschmayer wrote:
>> For IDE-support we already have class literals in ES.next. What is still missing? Type guards? Will those make it into ES.next?
>>  http://wiki.ecmascript.org/doku.php?id=harmony:harmony
>> Dr. Axel Rauschmayer
>> axel at rauschma.de
>> home: rauschma.de
>> blog: 2ality.com
>> es-discuss mailing list
>> es-discuss at mozilla.org
> es-discuss mailing list
> es-discuss at mozilla.org
slightlyoff at google.com
slightlyoff at chromium.org
alex at dojotoolkit.org BE03 E88D EABB 2116 CC49 8259 CF78 E242 59C3 9723
More information about the es-discuss