Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!uwm.edu!ux1.cso.uiuc.edu!uxa.cso.uiuc.edu!dawg6844 From: dawg6844@uxa.cso.uiuc.edu (Race Bannon) Newsgroups: comp.lang.smalltalk Subject: Re: Access methods - New feature ? Message-ID: <1991Apr23.180200.2300@ux1.cso.uiuc.edu> Date: 23 Apr 91 18:02:00 GMT References: <1991Apr21.221149.8057@vuse.vanderbilt.edu> <2813c1c8.5a14@petunia.CalPoly.EDU> Sender: usenet@ux1.cso.uiuc.edu (News) Distribution: usa Organization: University of Illinois at Urbana Lines: 20 mjohnson@sirius.acs.calpoly.edu (Mark S. Johnson) writes: >object? If the object Mark below is a "record-like" object containing >personal information about me, what's wrong with this type of access > Mark eyeColor >to check my eye color? Note that Mark does not necessarily have an >instance variable named eyeColor. >Am I being a dope about this? I'm much more of a moderate than my esteemed colleague Mr. Voss. I don't advocate having NO accessing methods, just as few as possible. -- _______________________________________________________________________________ Dan Walkowski | To understand recursion, Univ. of Illinois, Dept. of Comp. Sci. | you must first understand recursion. walkowsk@cs.uiuc.edu |