JargonFile/original/html/S/spaghetti-inheritance.html
2014-03-27 18:54:56 +00:00

8 lines
2.0 KiB
HTML
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>spaghetti inheritance</title><link rel="stylesheet" href="../../jargon.css" type="text/css"/><meta name="generator" content="DocBook XSL Stylesheets V1.61.0"/><link rel="home" href="../index.html" title="The Jargon File"/><link rel="up" href="../S.html" title="S"/><link rel="previous" href="spaghetti-code.html" title="spaghetti code"/><link rel="next" href="spam.html" title="spam"/></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">spaghetti inheritance</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="spaghetti-code.html">Prev</a> </td><th width="60%" align="center">S</th><td width="20%" align="right"> <a accesskey="n" href="spam.html">Next</a></td></tr></table><hr/></div><dt><a id="spaghetti-inheritance"/><dt xmlns="" id="spaghetti-inheritance"><b>spaghetti inheritance</b>: <span xmlns="http://www.w3.org/1999/xhtml" class="grammar">n.</span></dt></dt><dd><p> [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
<a href="spaghetti-code.html"><i class="glossterm">spaghetti code</i></a>.</p></dd><div class="navfooter"><hr/><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="spaghetti-code.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="../S.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="spam.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">spaghetti code </td><td width="20%" align="center"><a accesskey="h" href="../index.html">Home</a></td><td width="40%" align="right" valign="top"> spam</td></tr></table></div></body></html>