Class double-bind

Brendan Eich brendan at mozilla.org
Thu Mar 5 16:05:36 UTC 2015


Erik Arvidsson wrote:
> Traceur does not give any history on this but I also remember having 
> this discussion in a f2f meeting. It was all about "js has always been 
> mutable, lets not change that. If you want immutability you have it 
> with `const f = class {}`".

Yeah, that fits the groove laid down by var -- but we didn't advert to 
the double-binding issue then. Sounds like Andreas (and Mark?) would've 
wanted const not let, in that alternate history. WDYT?

/be


More information about the es-discuss mailing list