The best replacement for inheritance is composition.


Лучшие альтернативы к inheritance можно упорядочить следующим образом:
★★★★★  composition
★★★  interface
★★★  gift
★★★  polymorphism
★★  estate tax
★★  delegation
★  aggregation
★  interface java
★  composition c++
★  subtyping
★  composition java
★  bequest
★  composition c#
★  estate taxes
  abstract class
  heritage
  polymorphism c++
  containment
  abstraction
  legacy
  composition ruby
  implementation
  extension
  subclass
  mendelian inheritance
  multiple inheritance
  heredity
  decorator pattern
  multiple alleles
  interfaces
  roles
  composition python
  incomplete dominance
  estate
  abstract
  classic inheritance
  gift tax

Ваша альтернатива к inheritance не упомянута? Предложите!
Говоря о inheritance, пожалуй, не стоит забывать о will.

Другие запросы относящиеся к inheritance можно упорядочить так:

★★★★★ will
★★★★★ polymorphism
★★ generics java
delegation
Вам известен компаньон к inheritance и он пока не упомянут тут? Предлагайте!



Google Trends

Scale is based on the average worldwide traffic of inheritance in all years. Click on graph for more.
inheritance
composition
interface