Eric Elliott
Aug 8, 2017 · 1 min read

Thanks for your feedback, Axel. I’m aware that it’s possible to do this stuff with classes, but it’s much more complicated, (the data privacy issue is just the tip of the iceburg) and I can’t think of any advantages to the approach.

Meanwhile, the new requirement and the extends affordances invite unwary developers to fall into some pretty serious pitfalls (addressed in the next post in the series: “Why Composition is Harder with Classes”).

I’m curious though. Do you think there are advantages that I’m overlooking? If so, what are they?

    Eric Elliott

    Written by

    Make some magic. #JavaScript

    Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
    Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
    Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade