--

I don't see inheritance in architectural patterns, unlike encapsulation and polymorphism. C programmers also use encapsulation and polymorphism when they need OOP, but inheritance is quite uncommon with them.

Thus I suppose that inheritance is OOP-specific while the other two principles are universal.

--

--

Denys Poltorak
Denys Poltorak

Written by Denys Poltorak

yet another unemployed experienced embedded / low-level C++ technical lead from Ukraine

No responses yet