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 of, problems and/or circular:

    “An interesting play cannot in the nature of things mean anything but a play in which problems of conduct and character of personal importance to the audience are raised and suggestively discussed.”
    —George Bernard Shaw (1856–1950)

    “I rarely speak about God. To God, yes. I protest against Him. I shout at Him. But to open a discourse about the qualities of God, about the problems that God imposes, theodicy, no. And yet He is there, in silence, in filigree.”
    —Elie Wiesel (b. 1928)

    “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)