Not quite. I prefer get(PropertyName) to get#PropertyName#() - syntactically
it's a little easier to implement in CF. Again, works great for my use case,
your mileage may vary.
Best Wishes,
Peter
On 9/27/07 8:37 AM, "Patrick McElhaney" <[EMAIL PROTECTED]> wrote:
>
> On 9/27/07, Alan <[EMAIL PROTECTED]> wrote:
>> I've read stuff on the debate between whats best - getFirstname() or
>> get("firstname") and it seems there are 2 camps that can't agree. I
>> wonder if onMissingMethod() will produce the same polarised opinions.
>
> Actually, I think onMissingMethod can satisfy both camps. The
> get("firstname") camp doesn't have to create a boiler-plate method,
> and the getFirstName() camp doesn't have to dumb down the interface.
>
> Patrick
>
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CFCDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cfcdev?hl=en
-~----------~----~----~----~------~----~------~--~---