Pergunta de entrevista da empresa Insomniac Games

What is the problem with inheritance for reusing code in a large code base

Resposta da entrevista

Sigiloso

11 de fev. de 2016

Inheritance can over complicate classes just to reuse simple code In other words(In a fast explanation), deriving for a parent to just reuse a simple sample of code could bring many other set of either unused or over complex sets of code which should not be used by the class or are not needed, and all this for a simple sample of code.