Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Outline

Liskov Substition Principle

There are 5 programs under com/reflectoring/examples/lsp/paymentexample.

Run in this order to see class design evolution:

  1. InitialPaymentRequirementsMainApp
  2. LSPViolationMainApp
  3. ForceFitStillBrokenMainApp
  4. ForceFitAndConditionalCodeMainApp
  5. RedesignedMainApp

Packages are organized similarly: violation, forcefit, forcefitandconditional, and redesigned have specific classes modified at that point in the evolution.

Common code is in common, common/exceptions, common/external and common/instruments.

Blog posts

Morty Proxy This is a proxified and sanitized view of the page, visit original site.