Presentation is loading. Please wait.

Presentation is loading. Please wait.

Inspired by the Oulipu. The 3 Tenets of OO Encapsulation Polymorphism Inheritance.

Similar presentations


Presentation on theme: "Inspired by the Oulipu. The 3 Tenets of OO Encapsulation Polymorphism Inheritance."— Presentation transcript:

1 Inspired by the Oulipu

2 The 3 Tenets of OO Encapsulation Polymorphism Inheritance

3 The 3 2 Tenets of OO Encapsulation Polymorphism Inheritance

4 C++ Without Inheritance

5 Two different types of inheritance Code Reuse Declare compliance with a contract

6 Two different types of inheritance Code Reuse Declare compliance with a contract

7 So how will we achieve reuse? Of interfaces, not concrete types Use composition

8 The Beauty Emerges You can actually reuse the new code You can actually test the new code

9 Coming Next ….

10 C++ Without Templates


Download ppt "Inspired by the Oulipu. The 3 Tenets of OO Encapsulation Polymorphism Inheritance."

Similar presentations


Ads by Google