Pasta Theory of Programming
The Pasta Theory of Programming is the idea that various programming structures can be likened to the structures of well-known pasta dishes. The first and most famous example of the theory is spaghetti code, which illustrates the unfortunate tendency of unstructured procedural programming to result in code with little or no structure, making it difficult to understand and update.
In contrast, lasagna code is said to resemble structured programming, which has an easily understood, layered structure. However, because of unpredictable interdependencies between modules or units of code, the program may be difficult to modify. And ravioli code is analogous to object-oriented programming (OOP), because it is made up of small, separate, and loosely coupled objects that can be individually modified without affecting the other components or the structure as a whole.
The Pasta Theory of programming is attributed to Raymond Rubey of SofTech Inc. In a 1992 letter to the editor of CrossTalk magazine, Rubey exhorted developers to "go beyond the condemnation of spaghetti code to the active encouragement of ravioli code."
This was last updated in August 2006
Email Alerts
Register now to receive SearchEnterpriseLinux.com-related news, tips and more, delivered to your inbox.
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States.
Privacy
More News and Tutorials
-
The shortfalls of UCS include the potential for vendor lock-in and interoperability issues. Learn more about these and what you need to know to deploy a UCS in your data center. Some implementation considerations include storage, hypervisors, and a contingency plan in case your vendor changes course.
-
Unified computing systems (UCS) hold the promise of simplicity for data center, but the technology and associated costs may not be appropriate for every application. Learn about the potential of UCS to help your data center, and what you should consider prior to implementation.
-
Rising energy costs and increasing data center complexity require the merging of IT and facilities tasks, says an Avocent exec, who will present at this year's LinuxWorld conference.
-
Articles
-
Resources from around the Web