Everything on Tag: LSP

More on Design by Contract: Assertions and Inheritance

2016-05-07 at 14:36 0 comments

My previous two posts about Bertrand Meyer’s Design by Contract (DbC) were mainly introductions to pre- and post-conditions and class invariants and how they can be implemented in C# – in this one we’ll check out what implications DbC has if it is combined with the inheritance mechanism of object-oriented programming languages.

Continue reading