上海基诺彩票中奖号码

English [en]

Spaghetti Code

        Letter to the Editor
        CROSSTALK, Journal of Defense Software Engineering

  The mention of "a feast of spaghetti code" ("Computer Collectives", CrossTalk,
April/May 1992) prompted this response:

  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
                                                SoftTech, Inc.
                                                3100 Presidential Drive
                                                Fairborn, OH  45324
                                                Voice:  513-429-8291

This one is contributed by Luca Nanetti

Pure Java code: ZUPPA DI FAGIOLI CODE (italian for "beans soup");

Internet apps with HTML, XML, etc, plus Java things: PASTA E FAGIOLI CODE 
(italian for "beans soup with pasta chunks");

Bad OOP programming:few huge and absurdely complicated objects: CANEDERLI CODE 
(two big boiled balls of bread, eggs, milk and meat; very good!)

Bad OOP programming: a confusing lot of very, very little objects all 
interacting together: RISOTTO CODE (rice) Monolitical, non-object-oriented, 
non-procedural, non-structured code, but so wonderful, so good, 
so brilliant that glows like a big bright yellow sun: POLENTA CODE.

Other humor in the GNU Humor Collection.

Disclaimer

The joke on this page was obtained from the FSF's email archives of the GNU Project.

The Free Software Foundation claims no copyright on this joke.

TOP

 [FSF logo] “The Free Software Foundation (FSF) is a nonprofit with a worldwide mission to promote computer user freedom. We defend the rights of all software users.”

JOIN SHOP

上海基诺彩票中奖号码 新疆时时三星跨度 pk10计划软件苹果手机版 重庆时时现场开奖结果软件 重庆欢乐生肖全天计划 pk10冠亚和值大小技巧 时时彩稳赚不赔之定胆技巧 福彩一分快3计划软件 后三组选包胆奖金高吗 欢乐生肖福彩 重庆时时总和多少算大 新时时中奖规则 七乐彩中奖规则图表 银联扫码是什么意思 老版本鱼丸游戏 网赌3000赢100多万 免费北京麻将游戏