spaghetti inheritance

From S23Wiki

This is the JargonFile (V4.00) entry for spaghetti inheritance - Next: spam, Prev: spaghetti code
:spaghetti inheritance: /n./ [encountered among users of object-oriented languages that use inheritance, such as Smalltalk] A convoluted class-subclass graph, often resulting from carelessly deriving subclasses from other classes just for the sake of reusing their code. Coined in a (successful) attempt to discourage such practice, through guilt-by-association with spaghetti code.
* (text is auto-included via JargonExtension by mutante using jargon with VERSION 4.0.0, 24 JUL 1996 - JargonFile by Eric S. Raymond is in the public domain)


Personal tools