Circular Dependency - Problems of Circular Dependencies

Problems of Circular Dependencies

Circular dependencies can cause many unwanted effects in software programs. Most problematic from a software design point of view is the tight coupling of the mutually dependent modules which reduces or makes impossible the separate re-use of a single module.

Circular dependencies can cause a domino effect when a small local change in one module spreads into other modules and has unwanted global effects (program errors, compile errors). Circular dependencies can also result in infinite recursions or other unexpected failures.

Circular dependencies may also cause memory leaks by preventing certain very primitive automatic garbage collectors (those that use reference counting) from deallocating unused objects.

Read more about this topic:  Circular Dependency

Famous quotes containing the words problems and/or circular:

    Imagination is a valuable asset in business and she has a sister, Understanding, who also serves. Together they make a splendid team and business problems dissolve and the impossible is accomplished by their ministrations.... Imagination concerning the world’s wants and the individual’s needs should be the Alpha and Omega of self-education.
    Alice Foote MacDougall (1867–1945)

    Loving a baby is a circular business, a kind of feedback loop. The more you give the more you get and the more you get the more you feel like giving.
    Penelope Leach (20th century)