spaghetti inheritance
spaghetti inheritance
[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.
This article is provided by FOLDOC - Free Online Dictionary of Computing (foldoc.org)
Copyright © 2003-2025 Farlex, Inc
Disclaimer
All content on this website, including dictionary, thesaurus, literature, geography, and other reference data is for informational purposes only. This information should not be considered complete, up to date, and is not intended to be used in place of a visit, consultation, or advice of a legal, medical, or any other professional.