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,75a8a3664688f227 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-01-13 23:43:12 PST Path: supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!newsfeed.berkeley.edu!ucberkeley!freenix!fr.clara.net!heighliner.fr.clara.net!wanadoo.fr!not-for-mail From: "Jean-Pierre Rosen" Newsgroups: comp.lang.ada Subject: Re: Parameter Modes, In In Out and Out Date: Sat, 13 Jan 2001 22:26:30 +0100 Organization: Wanadoo, l'internet avec France Telecom Message-ID: <93rl5g$24s$1@wanadoo.fr> References: <7Cx56.90736$A06.3322588@news1.frmt1.sfba.home.com> <937jab$s23$1@nnrp1.deja.com> <3A57CD7F.2228BFD5@brighton.ac.uk> <938p3u$omv$1@nnrp1.deja.com> <93cagm$c1j$1@nnrp1.deja.com> <93e4e6$ucg$1@nnrp1.deja.com> <93l8hm$rlp$1@nnrp1.deja.com> NNTP-Posting-Host: mix-tuileries-104-232.abo.wanadoo.fr X-Trace: wanadoo.fr 979458032 2204 193.250.183.232 (14 Jan 2001 07:40:32 GMT) X-Complaints-To: abuse@wanadoo.fr NNTP-Posting-Date: 14 Jan 2001 07:40:32 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Xref: supernews.google.com comp.lang.ada:3995 Date: 2001-01-14T07:40:32+00:00 List-Id: a �crit dans le message news: 93l8hm$rlp$1@nnrp1.deja.com... > In article <93e4e6$ucg$1@nnrp1.deja.com>, > Robert Dewar wrote: > > > > It is NOT "using all advantages of [a] concept" to insist that > > it be used absolutely everywhere. On the contrary, that kind of > > approach leads to a much more restrictive and less useful > > expressive power. > > > > Very true. > > My favorite example is the notion of "purity" of OO languages, which > holds that some good comes from the ability to say "everything is a > class". The only result is that you have to contort everything into > _being_ a class for the sake of being able to say this, so for instance > you have to have a "singleton" design pattern to work around not having > packages with state, etc. > Very Very true :-) Too often, people slip from "anything can be done with classes" to "anything must be done with classes". I'm always amazed by people who value "pure OO" language. It's like having just one tool in one's tool box, and being proud of it. Everything can be done with a swiss army knife, so everything must be done with a swiss army knife. You don't need that ol' chain saw any more. Want to cut a big tree ? all you need is a swiss army knife (and patience). -- --------------------------------------------------------- J-P. Rosen (Rosen.Adalog@wanadoo.fr) Visit Adalog's web site at http://pro.wanadoo.fr/adalog