[WEBINAR] The New Normal: Dealing with the Reality of an Unsecure World

Circular Reference

Definition - What does Circular Reference mean?

A circular reference in computer programming is a situation in which two values reference each other. This type of reference can be extremely problematic if two functions or values depend on one another for definition. This term is used in the IT world much like it is in general language to refer to when one thing references another and vice versa.

Techopedia explains Circular Reference

An example of circular reference in programming is in a Microsoft Excel spreadsheet. Excel involves adding to or operating on various cells with functions that target specific cell ranges. In some cases, two different entries in Microsoft Excel can come to depend on each other for calculation, creating a circular reference. This can create a deadlock situation that makes calculations impossible. To mitigate this kind of situation, Microsoft has included a circular reference feature on the application's toolbar. This helps users to identify and remove a circular references.

A circular reference is also problematic in programming, and may occur where a function returns a given result that is used by another function to return the same result. In some cases, this will simply provide useless code. In other situations, it may create a deadlock or crash a program.

Techopedia Deals

Connect with us

Techopedia on Linkedin
Techopedia on Linkedin
"Techopedia" on Twitter

Sign up for Techopedia's Free Newsletter!

Email Newsletter

Join thousands of others with our weekly newsletter

Free Whitepaper: The Path to Hybrid Cloud
Free Whitepaper: The Path to Hybrid Cloud:
The Path to Hybrid Cloud: Intelligent Bursting To Amazon Web Services & Microsoft Azure
Free E-Book: Public Cloud Guide
Free E-Book: Public Cloud Guide:
This white paper is for leaders of Operations, Engineering, or Infrastructure teams who are creating or executing an IT roadmap.
Free Tool: Virtual Health Monitor
Free Tool: Virtual Health Monitor:
Virtual Health Monitor is a free virtualization monitoring and reporting tool for VMware, Hyper-V, RHEV, and XenServer environments.
Free 30 Day Trial – Turbonomic
Free 30 Day Trial – Turbonomic:
Turbonomic delivers an autonomic platform where virtual and cloud environments self-manage in real-time to assure application performance.