Tags:liskov substitution
  • 26Jun
    Introducing Interface Segregation Principle
    Posted By Brain Concert

    Introducing Interface Segregation Principle

    Interface Segregation Principle (ISP) is the fourth principle in S.O.L.I.D. set of principles (hence the letter I) and it deals with how business logic is communicated to the client. In object-oriented world, business logic is implemented in…

  • 30May
    Liskov Substitution Principle
    Posted By Brain Concert

    Liskov Substitution Principle

    The implementation looks ok. Birds usually eat and fly. In the distinctive case of an Ostrich we do not have the flying capability so an exception is thrown. However, the exception is unexpected for the code inside main merthod, so the program…