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 autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,5394d9ca5f955366 X-Google-Attributes: gid103376,public From: Robert Dewar Subject: Re: pointers & OOP Date: 1999/05/05 Message-ID: <7gprkm$p78$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 474354456 References: <$DL10CAsSgL3Iwj3@jr-and-assoc.demon.co.uk> <7gn7gr$fr5$1@nnrp1.dejanews.com> X-Http-Proxy: 1.0 x14.dejanews.com:80 (Squid/1.1.22) for client 205.232.38.4 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Wed May 05 16:29:19 1999 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/3.01SC-SGI (X11; I; IRIX 5.3 IP22) Date: 1999-05-05T00:00:00+00:00 List-Id: In article , John Robinson wrote: > Also, on the GNAT list Robert said: > > >encapsulation per se is not considered an OOP language feature, but in > >anyc ase this entire thread should move to CLA, it has nothint to do > >with GNAT. > > I consider encapsulation to be central to the concept of an object. > Without encapsulation you are not using objects and are not even > attempting to gain the prime benefits which are claimed for the > approach. Well of course the notions of encapsulation and data abstraction are central to object oriented programming, as are many other concepts such as subprograms. But this does not make them part of OOP features in a language. Data abstraction ane encapsulation features have been in all modern programming languages for a long time, quite independently from the more recent enthusiasm for object oriented programming. Far too many programmers have recently discovered encapsulation and data abstraction, and think that they are consequently doing object oriented programming. That is why I will repeat, I do not consider encapsulation features per se to be part of the OOP features of a modern programming language. -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own