0%

ALL meanings of liskov substitution principle

L l
  • noun Technical meaning of liskov substitution principle (programming, theory)   (LSP) The principle that object-oriented functions that use pointers or references to a base class must be able to use objects of a derived class without knowing it. A function that violates the LSP uses a reference to a base class and must know about all the derivatives of that base class. Such a function violates the open/closed principle because it must be modified whenever a new derivative of the base class is created. 1
Was this page helpful?
Yes No
Thank you for your feedback! Tell your friends about this page
Tell us why?