I would not personally favor using ES6 classes, here are my main reasons: * ES6 class is really sugar around prototypal inheritance, unlike many other languages * In many cases it is better to use functional programming and factory functions than classes
Some reading: * https://artem.today/what-is-behind-syntactical-sugar-in-es6-classes-6dfa4ab4d6a2 * https://medium.com/javascript-scene/the-two-pillars-of-javascript-ee6f3281e7f3 * https://medium.com/javascript-scene/why-composition-is-harder-with-classes-c3e627dcd0aa * https://hackernoon.com/favor-object-composition-over-class-inheritance-they-said-9f769659b6e On Thu, Nov 29, 2018 at 9:20 PM Chris Brody <chris.br...@gmail.com> wrote: > > I was wondering what our sentiment should be about using ES6 classes? > > My own opinion in coming in a response email. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org