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”

 

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.