Talk:Trains design

From CSSEMediaWiki
Revision as of 21:28, 7 October 2008 by Johannes Pagwiwoko (Talk | contribs)
Jump to: navigation, search

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! =D --Jojo 21:28, 7 October 2008 (UTC)

Personal tools