Pasta Theory

Definition - What does Pasta Theory mean?

The pasta theory is a theory of programming. It is a common analogy for application development describing different programming structures as popular pasta dishes. Pasta theory highlights the shortcomings of the code. These analogies include spaghetti, lasagna and ravioli code.

Techopedia explains Pasta Theory

The most widely used analogy for application development is spaghetti code, which shows the writing of unstructured procedures resulting in the code being difficult to understand and update.

Lasagna code is said to be a structurally written and layered program. The application is easy to read and has a layered structure. However, because of unpredictable interdependencies in segments of code, a lasagna program may be difficult to modify.

Easily modified and well written object-oriented programming (OOP) code is called ravioli code. The sauce is the layer of interfaces between different parts.

Much of programming work today is rewriting spaghetti or lasagna code into an OOP version with the same functionality. In some cases, the program is simply replaced by a brand new one.

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.