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: Robb Nebbe Subject: Re: Real OO Date: 1996/04/04 Message-ID: <3163D21C.460E@iam.unibe.ch>#1/1 X-Deja-AN: 145778288 references: <4jbmsk$uo5@watnews1.watson.ibm.com> content-type: text/plain; charset=us-ascii organization: Dept. of CS, University of Berne, Switzerland mime-version: 1.0 newsgroups: comp.lang.ada,comp.lang.eiffel,comp.object x-mailer: Mozilla 2.0 (X11; I; SunOS 5.4 sun4m) Date: 1996-04-04T00:00:00+00:00 List-Id: Don Harrison wrote: > Conclusion: > > Ada: > - more efficient, but > - manual optimisation places a burden on developer > - reduced flexibility/reusability > - syntactically complex > > Eiffel: > - less efficient, but > - automatic optimisation means that the the efficiency gap is > reduced as is the burden on developer > - greater flexibility/reusability > - syntactically simple > > Don. These conclusions are in direct conflict with my experience. My experience is that was is basically going on in Ada is that the programmer is allowed to make more of the semantics explict rather than implicit. I get to tell the compiler things I already know instead of having the compiler guess at them. I experience no burden because of Ada's approach. I also haven't found any real difference in flexibility or reusability due to Ada's distinction between class-wide and specific types. I do think that it helps a lot in understanding someone else's code but this is really a consequence of having more semantic information presented to me rather than having to figure it out. I don't think you have a sufficient understanding of the approach taken by Ada yet. You seem to have most of the facts but you don't seem to have synthesised it into a coherent whole. If you understand the separation between interface and implementation inheritance and adopt a programming style that makes heavy use of abstract classes (this should sound a little like Sather) then the distinction practically falls in your lap. Robb Nebbe