Skip to content

inversion of control

Daniel González García edited this page Mar 9, 2018 · 2 revisions

In Object-Oriented programs, control is inverted as of the one exhibited in procedural programming.

  • Make no assumptions about HOW a task will be accomplished
  • Follow "The Hollywood Principle"
  • Replacing collaborators should not have side-effects (LSP)

Previous | Next

Clone this wiki locally