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.
[Jargon File]

Tagged:

Read Also:

  • Spaghetti junction

    noun 1. an interchange, usually between motorways, in which there are a large number of underpasses and overpasses and intersecting roads used by a large volume of high-speed traffic noun a complex and multi-level junction of roads Word Origin as spaghetti strands would look

  • Spaghettini

    noun 1. pasta in the form of long thin strings



  • Spaghetti-squash

    noun 1. a variety of a widely cultivated squash, Cucurbita pepo, having edible flesh in the form of spaghettilike strands.

  • Spaghetti-strap

    noun 1. a thin, often rounded strip of fabric used in women’s clothing, as to form a shoulder strap on a bare-shouldered garment.



Disclaimer: Spaghetti inheritance definition / meaning 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. All content on this website is for informational purposes only.