Robert’s Golden Rules on Objects

For those who find Object-Oriented Design difficult then the following rules will assist you:

  1. Object exists for a purpose
  2. Object has responsibilities
  3. Delegation is the key to success
  4. Keep interfaces simple

So,

  • “I live to eat”
  • “I live to sleep”
  • “I live to reproduce”

spacer