[comp.lang.smalltalk] Private methods

dr1b@cive.ri.cmu.edu (Dionysis Rigopoulos) (04/24/91)

Private methods were frequently mentionned in the discussion about
access methods. However, "privacy" is not enforced by the system; its
respect is merely left to the good will of the programmer.
   Don't you think that the method protocol should also perform some
function, besides merely improving categorization, as for example,
enforcing that private messages can only be sent by methods of the receiver?
(Methods defined in its class or its hierarchical branch/sub-super-classes)?
   If so, how such a thing can be (efficiently?) programmed? 
--
Dionysis R. Rigopoulos

dr1b@cive.ri.cmu.edu
-- 
Dionysis R. Rigopoulos

dr1b@cive.ri.cmu.edu