On 12/7/07, Gary Affonso <[EMAIL PROTECTED]> wrote:
> Wes Wannemacher wrote:
> > In the past, the solution was to do the "work" using the prepareable
> > interface then just returning the reference to your model. I could be
> > remembering incorrectly, but I would avoid doing any work in a getter.
>
> Any reason you'd avoid it beyond the double-call bug?
>

It is more likely a style thing than anything else... I think of
getters as returning an instance, not instantiating and returning an
instance.


-- 
Wesley Wannemacher
President, Head Engineer/Consultant
WanTii, Inc.
http://www.wantii.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to