Skip to content

Latest commit

 

History

History
6 lines (6 loc) · 453 Bytes

File metadata and controls

6 lines (6 loc) · 453 Bytes

Guideline15: Design for the Addition of Types or Operations

  • Be aware of the strength and weakness of different programming paradigm.
  • Exploit the strength of a paradigm, but avoid the weaknesses.
  • Understand the choice between the addition of types or operations in dynamic polymorphism.
  • Prefer an object-oriented solution when you primarily want to add types.
  • Prefer a procedural/function solution when you primarily want to add operations.