释义 |
spaghetti inheritance spaghetti inheritance[encountered among users of object-oriented languages thatuse inheritance, such as Smalltalk] A convolutedclass-subclass graph, often resulting from carelesslyderiving subclasses from other classes just for the sake ofreusing their code. Coined in a (successful) attempt todiscourage such practice, through guilt-by-association withspaghetti code. |