--

I agree that JavaScript is trying too hard to please everyone with a class model on top of a prototype model, al though multiple inheritance doesn’t seem like a particularly great idea in any language and I certainly don’t miss it. My biggest criticisms is the potential inconsistencies of these two models and the lack of true property encapsulation. I wrote about it in JavaScript’s OOP Crisis.

--

--

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