News for hackers. Stuff that matters.
Re:Inheritance was invented as a performance hack by immibis on Friday May 09, 2025 @06:15AM (#43935238)
The word "module" comes to mind. A class in Java can be viewed as a software module, of which more than one instance can be created. Sometimes, this is even the best way to view the class. Other times, it's better to view it as a class representing some noun.

A thing like a "comparator" or an "XYZ factory" is not a domain noun, but rather a pluggable code module.

There are no comments on this comment yet.