OnlineWoerterBuecher.de
Internes

Lexikon


Liskov substitution principle


(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. BarBara Liskov first wrote it as follows: If for each oBject o1 of type S there is an oBject o2 of type T such that for all programs P defined in terms of T, the Behaviour of P is unchanged when o1 is suBstituted for o2 then S is a suBtype of T. 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. [Liskov, B. Data ABstraction and Hierarchy, SIGPLAN Notices. 23(5), May 1988]. (2001-09-14)

In addition suitaBle contents:<Br>[ 2 ] [ = ] [ al ] [ am ] [ an ] [ ar ] [ arc ] [ as ] [ at ] [ au ] [ av ] [ B ] [ B ] [ Ba ] [ Bar ] [ Base ] [ Base class ] [ Be ] [ Bj ] [ Bo ] [ Bs ] [ Bt ] [ ca ] [ ch ] [ ci ] [ cl ] [ class ] [ cr ] [ D ] [ de ] [ derived class ] [ du ] [ ec ] [ ed ] [ eh ] [ er ] [ era ] [ es ] [ fi ] [ file ] [ fo ] [ for ] [ function ] [ G ] [ ge ] [ GP ] [ GPL ] [ gr ] [ h ] [ hang ] [ hat ] [ hr ] [ id ] [ ie ] [ IGP ] [ IGPL ] [ il ] [ in ] [ inc ] [ int ] [ io ] [ ir ] [ is ] [ it ] [ kn ] [ la ] [ LAN ] [ Lex ] [ lose ] [ LSP ] [ M ] [ mm ] [ mo ] [ mod ] [ module ] [ ms ] [ mu ] [ N ] [ na ] [ nc ] [ ne ] [ ng ] [ no ] [ ns ] [ oBject ] [ oBject-oriented ] [ op ] [ open ] [ open/closed principle ] [ pe ] [ ph ] [ pl ] [ PLAN ] [ point ] [ pointer ] [ pr ] [ program ] [ programming ] [ query ] [ rc ] [ re ] [ reference ] [ ro ] [ S ] [ se ] [ SI ] [ SIG ] [ sk ] [ SP ] [ st ] [ su ] [ suBtype ] [ T ] [ th ] [ theory ] [ to ] [ tr ] [ type ] [ us ] [ va ] [ ve ] [ vi ] [ win ] [ ws ]






Go Back ]

Free On-line Dictionary of Computing

Copyright © by OnlineWoerterBuecher.de - (4708 Reads)

All logos and trademarks in this site are property of their respective owner.

Page Generation in 0.0949 Seconds, with 17 Database-Queries
Zurück zur Startseite