Sep 8, 2021
Yes, composition over inheritance all day long! (Unless maybe you’re building a framework.) I’m not sure why we seem so eager to import our traditional OOP problems to JavaScript, an approach that — as I’ve written before — could be the worst of both worlds. But other people say “just give us as many tools as possible, and we’ll take the risk of figuring out how to use them.” It does make things interesting.