Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 354 Bytes

programming-object-oriented.md

File metadata and controls

13 lines (9 loc) · 354 Bytes

Object Oriented Programming

Object Oriented Design (OOD)

  1. Handle ambiguity - who what where when why and how
  2. Define the core Objects - core objects
  3. Analyze relationships - inherit? one-to-one? one-to-many?
  4. Investigate actions - i.e. methods and parameters

OOD Patterns

  • Singleton - only one instance
  • Factory - returns instances