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: f43e6,2c6139ce13be9980 X-Google-Attributes: gidf43e6,public X-Google-Thread: fac41,2c6139ce13be9980 X-Google-Attributes: gidfac41,public X-Google-Thread: 103376,3d3f20d31be1c33a X-Google-Attributes: gid103376,public X-Google-Thread: 1108a1,2c6139ce13be9980 X-Google-Attributes: gid1108a1,public From: "W. Wesley Groleau x4923" Subject: Re: Interface/Implementation (was Re: Design by Contract) Date: 1997/09/04 Message-ID: <340F3801.47E5@pseserv3.fw.hac.com>#1/1 X-Deja-AN: 269905358 Sender: usenet@most.fw.hac.com (News Administration) X-Nntp-Posting-Host: sparc02 References: <340C85CE.6F42@link.com> Organization: Hughes Defense Communications Newsgroups: comp.object,comp.software-eng,comp.lang.ada,comp.lang.eiffel Date: 1997-09-04T00:00:00+00:00 List-Id: > IMHO, this is how it should be. One of the annoying things I find with the > ability to order operations differently in Ada spec and body is that you > see them in a certain order in the spec and may have trouble finding them > in the body because they've been re-ordered, often due to compilation > dependencies. IMO, there's no excuse for imposing dependency-related ordering > in an age of multi-pass compilation. This seems a little bit 'off' - Anything in an Ada body can see everything in the spec. The spec may be ordered to make things easy for the client to read. The body may be ordered to make the implementation easy to understand. And with many support tools (such as are nearly mandatory for a large product) finding the body depends on the tool, not on the sequence. > As Patrick explained, comments are either extracted or ignored on the basis of > where they appear in the class text. Those in interface-specific parts of the > text are extracted into the short form. Does this mean the accuracy and usefulness of the "spec" depends on the coder's compliance with style rules that are not automtically enforced? -- ---------------------------------------------------------------------- Wes Groleau, Hughes Defense Communications, Fort Wayne, IN USA Senior Software Engineer - AFATDS Tool-smith Wanna-be wwgrol AT pseserv3.fw.hac.com Don't send advertisements to this domain unless asked! All disk space on fw.hac.com hosts belongs to either Hughes Defense Communications or the United States government. Using email to store YOUR advertising on them is trespassing! ----------------------------------------------------------------------