Mark S. Miller (2014-08-12T01:48:36.000Z)
domenic at domenicdenicola.com (2014-08-18T18:36:09.405Z)
On Mon, Aug 11, 2014 at 6:33 PM, Domenic Denicola <domenic at domenicdenicola.com> wrote: > Presumably a future version of ES that contains traits would define > set-like, map-like, and other traits that could be used. Hopefully. But any future JS traits system should somehow play well with JS classes. The semantics of classes we accepted into ES6 makes that difficult but probably not impossible. Just for the record: Some of the rejected class proposals were designed to play well with future traits systems. In the end I agree with the pragmatics that caused these to be rejected in favor of the current one. But we paid the costs of making traits harder and more awkward, to the point that we may never have one we deem acceptable. We'll see.