Subject: Re: Encapsulation

From: [email-masked] (Karl Boyken)
Date: Mon, 22 Nov 1993 07:20:13 -0800

We can have encapsulation right now, if we provide verbs to access and/or 
modify object properties, and if we clearly document the programming 
interfaces of our objects, and if we include a warning that accessing or 
modifying our objects' properties directly is not supported.  Of course, 
programmers who don't subscribe to this encapsulation discipline can write 
code that might break.  But they will have been warned.  And code written by 
programmers who do conform to the discipline will be more easily modifiable 
and extensible.

Karl Boyken, system programmer, Dept. of Computer Science
303A MLH, The University of Iowa, Iowa City, IA  52242
voice:  319-335-2730   fax:  319-335-0627
Internet:  [email-masked]

---

From: [email-masked]
Date: Mon, 22 Nov 1993 07:39:00 -0800

> programmers who do conform to the discipline will be more easily modifiable 

I do this, except I also make the properties on the objects wiz-only, 
essentially removing their access to the outside world.

--JRP [Shirgall@many places]