OnlineWoerterBuecher.de
Internes

Lexikon


Liskov substitution principle


Ng, 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. 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)

N="left">IN additioN suitable coNteNts:
[ 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 - (4763 Reads)

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

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