RE: [Newbies] A Question of Style

2007-03-30 Thread Ron Teitelbaum
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

Re: [Newbies] A Question of Style

2007-03-30 Thread Edgar J. De Cleene
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

Re: [Newbies] A Question of Style

2007-03-30 Thread Blake
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

[Newbies] Re: A Question of Style

2007-03-30 Thread Klaus D. Witzel
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