Pregunta de entrevista de Insomniac Games

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

Respuesta de la entrevista

Anónimo

11 feb 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.