2 ms·
Yes because you don't have to inheritance "all the things". I am suspicious any time I see inheritance in my C# code base. It's rarely needed and causes a lot
by quickthrower2 9y ago
Yes because you don't have to inheritance "all the things".
I am suspicious any time I see inheritance in my C# code base. It's rarely needed and causes a lot of pain when used extensively. I'm looking at you Credit Note and Invoice!
- tzahola 9y agoInheritance considered harmful. Go got this right.
- mcguire 9y agoInheritance is a way of relating two or more pieces of code; it's a programming abstraction. If you try to apply it to the problem domain, by "modeling" things, for example, you're in for a bad time.
- seanmcdirmid 9y agoThe antithesis is when inheritance should be used but isn't. Inexperienced programmers tend to ideological extremes in either camp.