Re:Is Clean Code Necessary?
by mdmoss on Tuesday August 09, 2016 @05:31AM
(#12253440)
I think the author's statement of the Liskov substitution principle is backwards; An object must be replaceable by a subtype, not a supertype.
[ Parent
| on HN ]
Re:Is Clean Code Necessary?
by coderjean1 on Wednesday August 10, 2016 @12:20PM
(#12262870)
Yes you are totally right. I mistyped a word. Where it says supertype I actually meant subtype. I corrected the article.