Re: NTLK [PROGRAMMING] "Programming For The Newton" example code

From: Michael J. Hussmann (michael.hu@macmagazin.de)
Date: Tue May 30 2000 - 04:50:41 CDT


Ching Yi Tsai (tsai@mac.com) wrote:

> One more question, doesn't it nullify the OOD's idea of Encapsulation?
> Other objects can directly access the declared object's slots?

NewtonScript doesn't enforce encapsulation -- this is up to the
developer. But then, you would have to be a real purist not to access an
object's slot directly (except when abstraction provides a real benefit).

Michael J. Hussmann

Redaktion macmagazin
MACup Verlag GmbH
Leverkusenstrasse 54 VII
D-22761 Hamburg
Germany

E-Mail: michael@macmagazin.de
***************************************
NewtonTalk brought to you by:

EVOTE.COM -- the ESPN of politics on the Internet! All the players, all the news, and the hottest analysis and features (plus 'toons!) anywhere.... visit http://www.evote.com today!

***************************************
Need Subscribe/Unsubscribe info?

Visit the NewtonTalk section at http://www.planetnewton.com



This archive was generated by hypermail 2b29 : Thu Jun 01 2000 - 00:00:08 CDT