[Newbies] A Question of Style

Blake blake at kingdomrpg.com
Fri Mar 30 19:23:41 UTC 2007

On Fri, 30 Mar 2007 10:12:15 -0800, Edgar J. De Cleene  
<edgardec2001 at yahoo.com.ar> wrote:

> El 3/30/07 2:58 PM, "Ralph Johnson" <johnson at cs.uiuc.edu> escribió:
>> Setting accessor methods are a time-honored exception.
> Could expand ?
> Are you saying what if we have foo should have setfoo: and getfoo: ?
> Is that is the case is a simple implementation...

I believe he's saying: By the logic of using "set" to indicate setting a  
value, you should have "setFoo:" but when its an accessor method, using  
just "foo:" is the time-honored exception.

More information about the Beginners mailing list