Cisco CloudCenter: Get the Hybrid IT Advantage

Spaghetti Code

Definition - What does Spaghetti Code mean?

Spaghetti code is a slang term used to refer to a tangled web of programming source code where control within a program jumps all over the place and is difficult to follow. Spaghetti code normally has a lot of GOTO statements and is common in old programs, which used such statements extensively.

The rise of more structured programming languages, like object-oriented programming languages, has reduced the prevalence of spaghetti code.

Techopedia explains Spaghetti Code

Old programming languages like BASIC, which featured GOTO statements, were highly susceptible to spaghetti code because programmers found it very convenient to direct control of the program from one area to another using the GOTO statements.

However, spaghetti code is dreaded by programming teams who are tasked to look into old programs because the program logic becomes very difficult to follow. Because it gives rise to complex code, the use of GOTO statements and spaghetti code is only convenient during the original development process.

The older a program gets which was written with spaghetti code, the more difficult it is for developers to follow, even the original developers.

Share this:

Connect with us

Email Newsletter

Join thousands of others with our weekly newsletter

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.