News for hackers. Stuff that matters.
Re:The Big Oops: Anatomy of a Thirty-Five Year Mistake by lisbbb on Thursday July 24, 2025 @12:00AM (#44666776)
Inheritance sucks if you wish to write good unit tests easily. It just totally freaking sucks due to encapsulation. When you step back, you realize that composition is a far better approach to writing testable code.

There are no comments on this comment yet.