tag:blogger.com,1999:blog-1317519969686201237.post6061816218967534971..comments2023-03-01T16:35:02.152-07:00Comments on Americium Dream Documents: subclassing without sideaffectsPhilip Torrance (ADDN)http://www.blogger.com/profile/13133625113916983486noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-1317519969686201237.post-75084708497320540092013-01-14T08:58:17.561-07:002013-01-14T08:58:17.561-07:0012.8.30: adda/oop/terminology/def subclassing:
. g...12.8.30: adda/oop/terminology/def subclassing:<br />. gof's Design Patterns book transformed the oop industry,<br />here's what they said about<br />subclassing's relation to subtyping:<br />"( subclassing allows our composite widgets<br />to be usable everywhere that single widgets are,<br />because they share the same supertype ).<br />. they expect subclassing to support<br />subtype polymorphism;<br />eg, it can't just be a typedef shortcut;<br />a subclasser has also got to be conforming<br />to the syntactic and symantic interface<br />of the type it subclassed from .<br />Philip Torrance (ADDN)https://www.blogger.com/profile/13133625113916983486noreply@blogger.com