Talk:Eliminate irrelevant classes

From CSSEMediaWiki
(Difference between revisions)
Jump to: navigation, search
 
Line 2: Line 2:
  
 
Described how [[Eliminate irrelevant classes]] can conflict with [[Avoid concrete base classes]]. --[[User:Tureiti Keith|TK]] 05:12, 6 October 2008 (UTC)
 
Described how [[Eliminate irrelevant classes]] can conflict with [[Avoid concrete base classes]]. --[[User:Tureiti Keith|TK]] 05:12, 6 October 2008 (UTC)
 +
 +
I understand the conflict that TK described with the portaloo example, but this is also an example to favor composition over inheritance. A portaloo should contain a toilet, it's not actually a toilet. --[[User:John Hofman|John Hofman]]

Latest revision as of 02:01, 30 August 2010

Created the page, basically reworded the paragraph from Riel's book. --Elliot Fisher 01:06, 3 September 2008 (UTC)

Described how Eliminate irrelevant classes can conflict with Avoid concrete base classes. --TK 05:12, 6 October 2008 (UTC)

I understand the conflict that TK described with the portaloo example, but this is also an example to favor composition over inheritance. A portaloo should contain a toilet, it's not actually a toilet. --John Hofman

Personal tools