furrbear: (Default)
[personal profile] furrbear

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

Date: 2010-01-31 02:17 am (UTC)

Date: 2010-01-31 02:55 am (UTC)
ext_173199: (Foamy Fatkins)
From: [identity profile] furr-a-bruin.livejournal.com
Damn it, you're making me want to carb out big time here....

Mac 'n cheese, fettucini alfredo... hell, just spaghetti with butter and some garlic powder. ;)

Date: 2010-01-31 03:10 am (UTC)
From: [identity profile] bendingthought.livejournal.com
If I had the money, I would seriously pay so these guys could get laid weekly and they never do stuff like this.



Profile

furrbear: (Default)
furrbear

May 2013

S M T W T F S
   12 34
567891011
12131415161718
19202122232425
262728293031 

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 22nd, 2025 01:38 pm
Powered by Dreamwidth Studios