logo       

Re: A Question of Style: msg#00166

lang.smalltalk.squeak.beginners

Subject: Re: A Question of Style

On Fri, 30 Mar 2007 10:12:15 -0800, Edgar J. De Cleene <edgardec2001@xxxxxxxxxxxx> wrote:

El 3/30/07 2:58 PM, "Ralph Johnson" <johnson@xxxxxxxxxxx> 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.


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise