2 ms·
OP title said "general inheritance is bad", not " Generally, inheritance is bad". And the text support that. The "general inheritance" the author describe is n
by orwin 5y ago
OP title said "general inheritance is bad", not " Generally, inheritance is bad".
And the text support that. The "general inheritance" the author describe is not the one you've just used.
And i'm hijacking your post, sorry, but i really agree with the author with the "incidental inheritance" point. This is the worst. I lost a month to a bug caused by this kind of inheritance (Jenkins package that tried to be cute and interfered with a cloudbees class). I won't take a java gig ever again. Not worth the brain damage.