5 ms·
I think the author's statement of the Liskov substitution principle is backwards; An object must be replaceable by a subtype, not a supertype.
by mdmoss 10y ago
I think the author's statement of the Liskov substitution principle is backwards; An object must be replaceable by a subtype, not a supertype.
- coderjean1 10y agoYes you are totally right. I mistyped a word. Where it says supertype I actually meant subtype. I corrected the article.