Andrea Giammarchi (2014-01-13T16:23:36.000Z)
domenic at domenicdenicola.com (2014-01-17T23:56:00.137Z)
Also true ... it's funny 'cause for ages we, developers, tried to make "ES3 classes" non enumerable so that for/in were not affected, we could extend (avoiding conflicts, etc) and now that we could define such behavior as default through a new ES6 class syntax we are "worried" that is not what developers want ... I thought the fact basically every piece of code based on `.hasOwnProperty()` check as first line of any `for/in` would be already convincing nobody wants class enumerability and indeed I usually define prototypes via defineProperties in a non enumerable way, but maybe I am the only that never wanted/needed inherited enumerability for classes. That being said the single/multiple mixin through prototype would be a problem, if done pragmatically, but it can be easily solved with `getOwnPropertyNames` ? Make classes methods/properties enumerable by default ... I am still not convinced is useful and I don't remember other OOP languages exposing classes properties within loops. Anyway, not a big deal, nothing to go nuts about ... we can all keep coding anyway.