Talk:Trains design

From CSSEMediaWiki
(Difference between revisions)
Jump to: navigation, search
m
Line 1: Line 1:
 
I'm not sure about the relationship between InactiveLoco and Locomotive. Is it bad design how a subclass contains another subclass of the same base class? I thought I had read something like this on the Wiki but couldn't find it. --[[User:Elliot Fisher|Elliot Fisher]] 09:31, 6 October 2008 (UTC)
 
I'm not sure about the relationship between InactiveLoco and Locomotive. Is it bad design how a subclass contains another subclass of the same base class? I thought I had read something like this on the Wiki but couldn't find it. --[[User:Elliot Fisher|Elliot Fisher]] 09:31, 6 October 2008 (UTC)
  
Hmm...now that you mentioned that. It's actually [[Proxy]] design pattern! =D --[[User:Johannes Pagwiwoko|Jojo]] 21:28, 7 October 2008 (UTC)
+
Hmm...now that you mentioned that. It's actually [[Proxy]] design pattern, I think? --[[User:Johannes Pagwiwoko|Jojo]] 21:28, 7 October 2008 (UTC)

Revision as of 21:31, 7 October 2008

I'm not sure about the relationship between InactiveLoco and Locomotive. Is it bad design how a subclass contains another subclass of the same base class? I thought I had read something like this on the Wiki but couldn't find it. --Elliot Fisher 09:31, 6 October 2008 (UTC)

Hmm...now that you mentioned that. It's actually Proxy design pattern, I think? --Jojo 21:28, 7 October 2008 (UTC)

Personal tools