Re: GOTO operator

From: Date: Fri, 30 Jul 2004 18:58:05 +0000
Subject: Re: GOTO operator
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-11709@lists.php.net to get a copy of this message
From a linux cookie: --------------------------------- 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 ------------------------------------------------- Well, althought a little fun, i really found it very illuminating =) I think that promoting the good -- Leonardo Pedretti Axon Sistemas Líder de Equipo Proyecto Basalto

« previous php.internals (#11709) next »