News for hackers. Stuff that matters.
Re:If Inheritance is so bad, why does everyone use it? by commandlinefan on Friday April 12, 2024 @03:18PM (#40016644)
I see that a lot - the alternative to inheritance, when inheritance does make sense, is code duplication, which is much worse than inheritance, or first-order functions, which many languages don't actually support or don't support efficiently.

There are no comments on this comment yet.