DEV Community

Discussion on: Implementation Inheritance Is Evil

Collapse
 
alainvanhout profile image
Alain Van Hout

Felis silvestris is a specific gene pool, Canis familiaris is a specific gene pool. The cat Tom is a specific part of that gene pool. (It's composition all the way down, so to speak)

As for decorators (in vast amounts), if they work for you then all the better.

Thread Thread
 
wrongabouteverything profile image
wrong-about-everything

Oh, I see what you mean now. I just don't view a Cat as a gene pool. I consider it from a behavioral perspective, rather then the one from an internal state. Probably from scientifically point of view your approach makes sense, but I'm not a geneticist, I'm a developer. What I'm looking for are useful abstractions. This one works for me and for somebody else, while it might not work for you.