O'Reilly logo
  • Jaume Marti Farriol thinks this is interesting:

That leads us to our second principle of object-oriented design:

  • Favor object composition over class inheritance.

From

Cover of Design Patterns: Elements of Reusable Object-Oriented Software

Note

Important