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?
