User Tools

Site Tools


principles:liskov_substitution_principle

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
principles:liskov_substitution_principle [2013-06-22 20:42]
christian
principles:liskov_substitution_principle [2016-03-07 22:17]
66.228.70.98 [Strategies] fix typo (waken -> weaken)
Line 30: Line 30:
  
   * Only strengthen invariants in subclasses; never weaken them   * Only strengthen invariants in subclasses; never weaken them
-  * Only waken preconditions when overriding methods+  * Only weaken ​preconditions when overriding methods
   * Only strengthen postconditions when overriding methods   * Only strengthen postconditions when overriding methods
   * Use Delegation instead of Inheritance   * Use Delegation instead of Inheritance
principles/liskov_substitution_principle.txt · Last modified: 2018-05-27 18:40 by 2600:6c56:7a00:e45:0:7bb6:125a:4a85