SPAGHETTI INHERITANCE
\spɐɡˈɛti ɪnhˈɛɹɪtəns], \spɐɡˈɛti ɪnhˈɛɹɪtəns], \s_p_ɐ_ɡ_ˈɛ_t_i_ ɪ_n_h_ˈɛ_ɹ_ɪ_t_ə_n_s]\
Sort: Oldest first
-
A term used by users of object-orientedlanguages with inheritance, such as Smalltalk for a convolutedclass-subclass graph, often resulting from carelessly derivingsubclasses from other classes just for the sake of reusing theircode. Coined to discourage such practice, throughguilt-by-association with spaghetti code.
By Denis Howe
Word of the day
Snake's-head
- Guinea-hen flower; -- so called in England because its spotted petals resemble the scales of a snake's head.