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.1 required=5.0 tests=BAYES_00, PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,fce663eaf40b52f6 X-Google-Attributes: gid103376,public Path: controlnews3.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!nnx.oleane.net!oleane!nnrp.oleane.net!skymaster!nobody From: "Jean-Pierre Rosen" Newsgroups: comp.lang.ada Subject: Re: Manifesto against Vector Date: Tue, 11 May 2004 15:25:27 +0200 Organization: Adalog Message-ID: References: <99cf7c.293.ln@skymaster> <8sQmc.11414$V97.6807@newsread1.news.pas.earthlink.net> NNTP-Posting-Host: mailhost.axlog.fr X-Trace: s1.read.news.oleane.net 1084284330 27958 195.25.228.57 (11 May 2004 14:05:30 GMT) X-Complaints-To: abuse@oleane.net NNTP-Posting-Date: Tue, 11 May 2004 14:05:30 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Xref: controlnews3.google.com comp.lang.ada:443 Date: 2004-05-11T15:25:27+02:00 List-Id: "Jeffrey Carter" a �crit dans le message de news:yWOnc.14671$V97.11541@newsread1.news.pas.earthlink.net... > OOP (which is unrelated to OOD) is really about increasing ease of > writing at the expense of ease of reading; that's why it's embraced by > the same coders who prefer C to Ada. Software engineers emphasize ease > of reading over ease of writing and prefer Ada to C, and don't mind > having to recompile to achieve that. I agree with some guy named Rosen > who had an /Ada Letters/ article about what orientation Ada's objects > should take, and concluded that composition was more readable than > inheritance. (See also Carter, J. R., "OOP vs. Readability," /Ada > Letters/, 1997 Mar/Apr.) Well, I agree with that guy :-). If you remember one of my previous posts, I said "if you don't want tagged types, don't use them". I am furiously fighting against the "inheritance everywhere" disease. However, the opposite of "inheritance everywhere" is not "inheritance nowhere". There are cases where inheritance can be useful; I would not describe it as favouring ease of writing over ease of reading, but rather as favouring flexibility over security. There are some applications where flexibility is a prime concern. -- --------------------------------------------------------- J-P. Rosen (rosen@adalog.fr) Visit Adalog's web site at http://www.adalog.fr