News for hackers. Stuff that matters.
Re:C++: Is It Really a Cruel Joke? (2003) by bunderbunder on Thursday July 05, 2018 @10:48AM (#17463649)
> Inheritance chains were 5 or 10 classes deep.

30 years later, I still run into the same problem regularly. I'm not sure why, but this seems to be an anti-pattern that everyone needs to learn about the hard way.

Re:C++: Is It Really a Cruel Joke? (2003) by DerDangDerDang on Thursday July 05, 2018 @10:51AM (#17463686)
I blame java
Re:C++: Is It Really a Cruel Joke? (2003) by bunderbunder on Thursday July 05, 2018 @11:58AM (#17464260)
Don't blame Java. Blame programming instruction.

If it's anything like when I was in school, as soon as the curriculum trots out its first object oriented language, you get a lecture about how is-a relationships are the greatest invention since the compiler, and deep inheritance hierarchies are both the most practical and the most morally righteous way to organize your abstractions.

(Meanwhile, ironically enough, I'm not sure I've ever heard a CS instructor even mention the Liskov Substitution Principle.)

Re:C++: Is It Really a Cruel Joke? (2003) by zaphar on Thursday July 05, 2018 @12:03PM (#17464305)
I blame inheritance.