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, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8b8748382fcfacc1 X-Google-Attributes: gid103376,public From: Robert Dewar Subject: Re: friend classes in ada95 Date: 2000/04/20 Message-ID: <8dmm12$1j7$1@nnrp1.deja.com>#1/1 X-Deja-AN: 613518164 References: <8dh37m$qef$2@wanadoo.fr> <3B5L4.1317$B43.116109@news.pacbell.net> <38FD1830.949F5E81@mindspring.com> <38FD1C9E.7C2B7756@research.canon.com.au> <8dldqi$mb7$1@nnrp1.deja.com> <38FE365D.31C893A6@acm.org> <8dmj62$4i7$1@wanadoo.fr> X-Http-Proxy: 1.0 x38.deja.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Thu Apr 20 10:26:51 2000 GMT X-MyDeja-Info: XMYDJUIDrobert_dewar Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.61 [en] (OS/2; I) Date: 2000-04-20T00:00:00+00:00 List-Id: In article <8dmj62$4i7$1@wanadoo.fr>, "Jean-Pierre Rosen" wrote: > i.e. that a program is > no more defined as a sequence of actions to be performed by a > computer, but as a representation, a modelization, of the real > world. FWIW. No, that's much too broad, the object oriented approach is only one particular way of representing or modeling the world. COBOL programs have traditionally modeled the accounting world for example, pretty literally, but often in ways that are purely procedural (the real world does contain procedures as well as objects :-) Indeed this points out the ultimate weakness of relying on the OO paradign for everything. Obviously you can do any computing task using any computation approach, we all know that. Therefore, Q.E.D. you can do anything using an object oriented approach, so we all know that too, and it proves nothing. The point is that the OO approach is most often useful ONLY if it does indeed model the real world, so if your real world problem is not naturally "object oriented", then forcing it into the OO paradigm may considerably distort the model. The fact that there are those around (some in this thread) who think OO is all about ADT features in languages further confuses the issue, and results in a lot of confused code! Sent via Deja.com http://www.deja.com/ Before you buy.