Yo-yo Problem

In computer science, the yo-yo problem occurs when a programmer has to read and understand a program whose inheritance graph is so long and complicated that the programmer has to keep flipping between many different class definitions in order to follow the control flow of the program. It often happens in object-oriented programming. The term comes from comparing the bouncing attention of the programmer to the up-down movement of a toy yo-yo. Most practices of object-oriented programming recommend keeping the inheritance graph as shallow as possible to avoid this problem. Some also advise the use of composition instead of inheritance, although this still requires that a programmer keep multiple class definitions in mind at once. See also: Object-oriented programming, Complexity, Anti-pattern

 

<< PreviousWord BrowserNext >>
shenanigans
english coin florin or double leopard
english coin half florin or leopard
english coin quarter florin or helm
talking with the taxman about poetry
prince william sound
rebel yell
bligh reef
dysfunction (album)
piano man
debut (album)
shake your moneymaker
uss mississippi (bb 41)
soyuz 9
de montfort university
silliac
mohammed nour al din saffi
information good
electron affinity
hans adam ii, prince of liechtenstein
oe ligature
heavy cruiser
uday hussein
straight engine
romano prodi
william bacon oliver
, norway
slicing
template metaprogramming
f zero
san pedro, los angeles, california
debeaking
philip marlowe
cards on the table
grammy award for best new artist
museum ship
list of museum ships
pont du gard
vitali sevastyanov
list of people who died in aviation related incidents
crane (bird)
min nan
uss new york city (ssn 696)
common crane