ALERT

[FREE DEMO] Deploy Your Enterprise Cloud in Minutes

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
Tweat cdn.techopedia.com
"Techopedia" on Twitter


'@Techopedia'
Sign up for Techopedia's Free Newsletter!

Email Newsletter

Join thousands of others with our weekly newsletter

Resources
The 4th Era of IT Infrastructure: Superconverged Systems
The 4th Era of IT Infrastructure: Superconverged Systems:
Learn the benefits and limitations of the 3 generations of IT infrastructure – siloed, converged and hyperconverged – and discover how the 4th...
Approaches and Benefits of Network Virtualization
Approaches and Benefits of Network Virtualization:
Businesses today aspire to achieve a software-defined datacenter (SDDC) to enhance business agility and reduce operational complexity. However, the...
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.