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=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fac41,2c6139ce13be9980 X-Google-Attributes: gidfac41,public X-Google-Thread: f43e6,2c6139ce13be9980 X-Google-Attributes: gidf43e6,public X-Google-Thread: 1108a1,2c6139ce13be9980 X-Google-Attributes: gid1108a1,public X-Google-Thread: 103376,3d3f20d31be1c33a X-Google-Attributes: gid103376,public From: kennel@nospam.lyapunov.ucsd.edu (Matt Kennel (Remove 'NOSPAM' to reply)) Subject: Re: Design by Contract Date: 1997/08/27 Message-ID: #1/1 X-Deja-AN: 268648756 References: <33E9ADE9.4709@flash.net> <34023BC4.2781E494@eiffel.com> <3402d123.0@news.uni-ulm.de> <3402DA6A.C4444E46@calfp.co.uk> <3402e51d.0@news.uni-ulm.de> <3402E8C9.3384D976@calfp.co.uk> Reply-To: kennel@NOSPAMlyapunov.ucsd.edu Organization: The Avant-Garde of the Now, Ltd. Newsgroups: comp.object,comp.software-eng,comp.lang.ada,comp.lang.eiffel Date: 1997-08-27T00:00:00+00:00 List-Id: On 26 Aug 1997 17:33:11 -0400, Robert Dewar wrote: :That's truly surprising. One of the things that virtually everone who :uses Ada agrees on is that the separation of spec and body is an invaluable aid :to system structuring. Can you explain how that works exactly? Personally I would imagine that one can get approximately the same benefit by using abstract classes as specifications, with a nice conceptual simplification of the language. This is not a flame, btw, but I've always had the gut feeling that a Modula-2 like package spec vs. implementation separation was a good idea, but only in the days before a ''real'' complete OO language. If you're going from a generally ad-hoc procedural design, I can imagine it would feel nice, but in a language which already includes abstract interfaces for other reasons, it seems like it would be needless bureaucracy. -- * Matthew B. Kennel/Institute for Nonlinear Science, UCSD - * "People who send spam to Emperor Cartagia... vanish! _They say_ that * there's a room where he has their heads, lined up in a row on a desk... * _They say_ that late at night, he goes there, and talks to them... _they *- say_ he asks them, 'Now tell me again, how _do_ you make money fast?'"