Marty Pauley via RT wrote:
Show quoted text> On Thu Feb 23 16:23:44 2006, Jim Brandt via RT wrote:
>> I was wondering if it would be possible to add the ability to designate
>> your own alias for created accessors. Basically, I'd like to be able to
>> generate accessors called get_field and set_field.
>
> I should be able to add optional autogeneration of get_foo and set_foo without
> any problems.
Cool. That's really my main request, and as you can see from the link,
my main driver was setting up methods to follow Damian's PBP book. Not
just because it's in a book, but because I agree with the guideline. :)
Show quoted text>
> The ability to designate your own aliases is not difficult to add; getting the
> interface right is the only tricky part there.
That was my thought too. Tricky to add it without breaking the current
interface. I thought this bit might just be the natural extension of the
other request.
Show quoted text>
> I'll look at it over the weekend.
Thanks for taking a look. Let me know if I can help.
Jim
--
Jim Brandt
Administrative Computing Services
University at Buffalo