Re: OO Principle - reference needed



On Apr 19, 3:30 pm, "Jason Keats" <jke...@xxxxxxxxxxxxxxxxxxxxxxx>
wrote:
Nathan wrote...
If I remember correctly I came across it in the book 'Design Patterns
Explained' but can't find my copy of the book at the moment.

Your memory serves you well. It's mentioned in Chapter 20, which is about
Factories.

Rule: Objects should either make other objects or use other objects, but
never both

Knew I'd read it somewhere! Thanks for that Jason

.