I like the second one; it explains your intention much better.
Ron
From: Tim Johnson
Hi,
I know the rules for naming accessor and setter methods. But what do I do
when the accessor method needs a parameter? I'll try to provide an
example.
A vendor sells an item called #apple. If I
El 3/30/07 2:58 PM, Ralph Johnson [EMAIL PROTECTED] 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...
Edgar
On Fri, 30 Mar 2007 10:12:15 -0800, Edgar J. De Cleene
[EMAIL PROTECTED] wrote:
El 3/30/07 2:58 PM, Ralph Johnson [EMAIL PROTECTED] 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
On Fri, 30 Mar 2007 18:22:22 +0200, Tim Johnson wrote:
Hi,
I know the rules for naming accessor and setter methods. But what do I
do
when the accessor method needs a parameter? I'll try to provide an
example.
A vendor sells an item called #apple. If I want to get the vendor's
price