Circular dependency

Circular dependency is when two or more classes depend on each other.

Circular dependency might lead to a bias when you make a small change in the model and it creates a domino effect, and when you do not take care of that effect well.

Example of circular dependency

Example: To get a credit card you need a credit history. To have a credit history, you need a credit card, so everyone that is not already part of the system is excluded.

Credit card and credit history loop
Was this page helpful?
Yes No