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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,e276c1ed16429c03 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,UTF8 Path: g2news2.google.com!news3.google.com!feeder.news-service.com!85.214.198.2.MISMATCH!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: "J-P. Rosen" Newsgroups: comp.lang.ada Subject: Re: Ada is getting more popular! Date: Fri, 29 Oct 2010 22:28:59 +0200 Organization: Adalog Message-ID: References: <4cc4cb65$0$6985$9b4e6d93@newsspool4.arcor-online.net> <5086cc5e-cd51-4222-a977-06bdb4fb3430@u10g2000yqk.googlegroups.com> <14fkqzngmbae6.zhgzct559yc.dlg@40tude.net> <8732ea65-1c69-4160-9792-698c5a2e8615@g13g2000yqj.googlegroups.com> <4cc60705$0$23764$14726298@news.sunsite.dk> <4cc6753c$0$23756$14726298@news.sunsite.dk> <4cc71e08$0$23758$14726298@news.sunsite.dk> <4cc87d7a$0$23755$14726298@news.sunsite.dk> <4cc912e1$0$23761$14726298@news.sunsite.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Fri, 29 Oct 2010 20:29:05 +0000 (UTC) Injection-Info: mx01.eternal-september.org; posting-host="O1RkH+WVNUV47UyqsXe2BA"; logging-data="24364"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/wZQ1VDoYGOm6XgJlPFJP+" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 In-Reply-To: Cancel-Lock: sha1:gDXxavZ85UM9PMnNYPQ/TP63xgs= Xref: g2news2.google.com comp.lang.ada:15914 Date: 2010-10-29T22:28:59+02:00 List-Id: Le 29/10/2010 21:56, Yannick Duchêne (Hibou57) a écrit : > I would enjoy to learn more about what's wrong with inheritance (I know > this cannot model every thing of real life, but here the area is more > restricted) and as much about classification without inheritance (I > understand classification does not implies inheritance, but I would like > to understand how and why inheritance should be avoided). > > I do not mean I have strictly no idea about this, just that I wish you > both tell more. > Short answers: 1) Complexity of projects that use inheritance tends to grow quadratic 2) No other discipline of engineering uses classification as a /design/ method; classification is used to organize artifacts after they have been designed 3) Not all people find classification natural. I don't know whether it is linked to left-brained or right-brained people, but there are huge variations among people. Long answer: If you can read french, see http://fr.wikibooks.org/wiki/M%C3%A9thodes_de_g%C3%A9nie_logiciel_avec_Ada especially part 2, and chapter 2.4 for a comparison of composition and classification -- --------------------------------------------------------- J-P. Rosen (rosen@adalog.fr) Adalog a déménagé / Adalog has moved: 2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX Tel: +33 1 45 29 21 52, Fax: +33 1 45 29 25 00