News for hackers. Stuff that matters.
Re:The Return of Aspect Oriented Programming by rf15 on Tuesday June 30, 2026 @01:27AM (#48728795)
It took me so long to beat the following into my team: Inheritance and instantiation by default is a no-no. Use instances when state would be useful to the process, and use Inheritance when you have a lot of overlap between two processes/concepts and want to simplify/unify the code base.

Application of inheritance is a reaction to the current state of the code, not a foundation you start with.

There are no comments on this comment yet.