Nearly every software professional has heard the term spaghetti code as a
pejorative description for complicated, difficult to understand, and impossible
to maintain, software. However, many people may not know the other two
elements of the complete Pasta Theory of Software.
Lasagna code is used to describe software that has a simple, understandable,
and layered structure. Lasagna code, although structured, is unfortunately
monolithic and not easy to modify. An attempt to change one layer conceptually
simple, is often very difficult in actual practice.
The ideal software structure is one having components that are small and
loosely coupled; this ideal structure is called ravioli code. In ravioli
code, each of the components, or objects, is a package containing some meat
or other nourishment for the system; any component can be modified or replaced
without significantly affecting other components.
We need to go beyond the condemnation of spaghetti code to the active
encouragement of ravioli code.
-- Raymond J. Rubey, in a letter to the editor of Crosstalk magazine
- Filename Size Modification Time
- 13.37/ Directory 1970-01-01 00:00:00
- 14.0/ Directory 1970-01-01 00:00:00
- 14.1/ Directory 1970-01-01 00:00:00
- noversion/ Directory 1970-01-01 00:00:00
All packages and scripts on this website come with the following disclaimer. By using these scripts and packages it is assumed that you accept this. This software is provided by the author ''as is'' and any express or implied warranties, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose are disclaimed. In no event shall the author be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage.