From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fac41,c52c30d32b866eae X-Google-Attributes: gidfac41,public X-Google-Thread: 103376,2ea02452876a15e1 X-Google-Attributes: gid103376,public X-Google-Thread: 1108a1,c52c30d32b866eae X-Google-Attributes: gid1108a1,public From: adaworks@netcom.com (AdaWorks) Subject: Re: Real OO Date: 1996/05/01 Message-ID: #1/1 X-Deja-AN: 152544718 sender: adaworks@netcom10.netcom.com references: followup-to: comp.lang.eiffel,comp.lang.ada,comp.object organization: NETCOM On-line Communication Services (408 261-4700 guest) newsgroups: comp.lang.eiffel,comp.lang.ada,comp.object Date: 1996-05-01T00:00:00+00:00 List-Id: Robert Dewar (dewar@cs.nyu.edu) wrote: [snip, snip, snip] : > In OO software, you would want to define them with their types : > (except that in Eiffel, you assign the operation to a particular : > type - whichever is most appropriate). Otherwise, you would end up : > with spaghetti, IMO. [snip, snip, snip] : P.S. spaghetti code doesn't just mean code you don't like. It is a rather : specific term used to described the non-nested chaotic control structures : caused by undisciplined use of gotos or equivalent transfers of control. : I think it is useful to keep this sense. HmmmMMMMMMmmmmm. I guess we could characterize OOP as "ravioli code" rather than spaghetti code. Each class is a little square of pasta enclosing the encapsulated delicacies. Anyone for Pizza code? Sorry about that, folks. It is late in the day and the Ada problem I a trying to solve has triggered onset delirium. :-) :-) Richard Riehle -- richard@adaworks.com AdaWorks Software Engineering Suite 27 2555 Park Boulevard Palo Alto, CA 94306 (415) 328-1815 FAX 328-1112