<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Actually mixins shouldn’t be done with Object.assign if that’s what you mean.<div class=""><br class=""></div><div class="">I think the language should provide a syntax for that (e.g., Lightweight traits on <a href="http://www.nczonline.net/blog/2014/06/03/my-ecmascript-7-wishlist/" class="">http://www.nczonline.net/blog/2014/06/03/my-ecmascript-7-wishlist/</a>)</div><div class=""><br class=""></div><div class=""><div><blockquote type="cite" class=""><div class="">On Dec 24, 2014, at 1:09 PM, Russell Leggett <<a href="mailto:russell.leggett@gmail.com" class="">russell.leggett@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><br class=""><br class="">On Wednesday, December 24, 2014, Kevin Smith <<a href="mailto:zenparsing@gmail.com" class="">zenparsing@gmail.com</a>> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class=""><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The question is: what should ES6 classes choose as the default? What's the most useful default, independent of various backward-looking consistencies? What, if the future is bigger than the past, would be best?<br class=""></blockquote><div class=""><br class=""></div><div class="">Framed that way, then non-enumerability.</div><div class=""><br class=""></div><div class="">If we want to preserve any kind of conceptual integrity for enumerability, then enumerability must indicate that the property is a data element within a data structure.</div><div class=""><br class=""></div><div class="">Whether enumerability is worth preserving, I don't know.</div><div class=""><br class=""></div></div></div></div></blockquote><div class="">I'll just throw out mixins as a possible reason to keep enumerability.</div><div class=""><br class=""></div><div class="">- Russ </div>
_______________________________________________<br class="">es-discuss mailing list<br class=""><a href="mailto:es-discuss@mozilla.org" class="">es-discuss@mozilla.org</a><br class="">https://mail.mozilla.org/listinfo/es-discuss<br class=""></div></blockquote></div><br class=""></div></body></html>