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,2c6139ce13be9980 X-Google-Attributes: gidfac41,public X-Google-Thread: 103376,3d3f20d31be1c33a X-Google-Attributes: gid103376,public X-Google-Thread: f43e6,2c6139ce13be9980 X-Google-Attributes: gidf43e6,public From: "W. Wesley Groleau x4923" Subject: Re: Interface/Implementation (was Re: Design by Contract) Date: 1997/09/15 Message-ID: <341D9785.EFE@pseserv3.fw.hac.com>#1/1 X-Deja-AN: 272752553 Sender: usenet@most.fw.hac.com (News Administration) References: <3417f99f.1904249@wizard.pn.com> X-Nntp-Posting-Host: sparc02 Organization: Hughes Defense Communications Newsgroups: comp.software-eng,comp.lang.ada,comp.lang.eiffel Date: 1997-09-15T00:00:00+00:00 List-Id: > So Ada imposes dependency ordering that makes people list their > subprograms bottom-up, but everybody defeats this by means of > forward declarations and lists things top-down because everybody > knows that's the more natural way to read a program. Does anyone > see an element of the bizarre in this? No, for some personalities, the more "natural" is read the implementation of a low-level operation, mentally synthesize it into an understanding of the operation, and then you can understand it when you later see a call to it. For other people, the more "natural" is read the high-level description, and understand (sort of), the low-level operations by the context of their calls. A compiler tends to be more like the former than the latter. Also, the latter can be 'fooled' by wierd subprogram names. The former can be confused by poor partitioning. For more on such personality differences, read "Type Talk" by (I think) Otto Kroeger or "The Way They Learn" by Cynthia Tobias. (Or get really erudite and read "The Manual" by Meyers & Briggs) -- ---------------------------------------------------------------------- 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! ----------------------------------------------------------------------