OO Tricks

  • Command Query Separation
  • Single Level of Abstraction
  • Law of Demeter
  • Minimize function's arguments
  • Keeping the code clean has the highest priority. Don't leave "broken windows" unrepaired.