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,ASCII Path: g2news2.google.com!news4.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: Sun, 31 Oct 2010 13:54:33 +0100 Organization: Adalog Message-ID: References: <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> <10g3vmx6lxyu.bjfg1i5gjcsf$.dlg@40tude.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Injection-Date: Sun, 31 Oct 2010 12:54:41 +0000 (UTC) Injection-Info: mx01.eternal-september.org; posting-host="O1RkH+WVNUV47UyqsXe2BA"; logging-data="17869"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/K86mUVjE4xH0zOUf8Hise" 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: <10g3vmx6lxyu.bjfg1i5gjcsf$.dlg@40tude.net> Cancel-Lock: sha1:5WrUmfqcYsaUus4MSIqtBWOyUeA= Xref: g2news2.google.com comp.lang.ada:16011 Date: 2010-10-31T13:54:33+01:00 List-Id: Le 31/10/2010 11:54, Dmitry A. Kazakov a �crit : > On Sun, 31 Oct 2010 11:38:02 +0100, J-P. Rosen wrote: > >> FWIW, here are my criteria for using inheritance: >[...] > 5) you want to postpone some design decision/implementation to a later > point. So you describe/implement what you know for certain right now, in > the form of an abstract type, and let a derived type to define the rest > when more information becomes available. > Sorry, I don't agree with you on this. I think the structure of the design should only reflect the logical structure, not the history of the project. If at some point you don't know enough, express what you know. When things become clearer, rework what you have done. "I have written this, I don't want to change/replace/destroy it now" is the root of many evils... -- --------------------------------------------------------- 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