Link Details

Link 111301 thumbnail
User 111696 avatar

By bloid
via blog.objectmentor.com
Published: Sep 08 2008 / 06:14

OCP and LSP together tell us how to organize similar vs. variant behaviors. I blogged the other day about OCP in the context of languages with open classes (i.e., dynamically-typed languages). Let’s look at the Liskov Substitution Principle (LSP).
  • 14
  • 0
  • 994
  • 381

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.