Polymorphie

Liskov Substitution Principle (LSP) – Wissenshäppchen #5

This entry is part 5 of 8 in the series Wissenshäppchen

Im fünften Wissenshäppchen geht es um das Liskov Substitution Principle. Inhalt Das LSP ist das dritte der fünf SOLID-Prinzipien. Es wurde 1987 von Barbara Liskov definiert, die ihm auch seinen Namen gab: Functions that use pointers or references to base classes must be able to use objects of derived classes without knowing it. Man könnte…

Read More