--

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.

--

--

Matthew MacDonald
Matthew MacDonald

Written by Matthew MacDonald

Teacher, coder, long-ago Microsoft MVP. Author of heavy books. Join Young Coder for a creative take on science and technology. Queries: matthew@prosetech.com

No responses yet