On Sat, Sep 11, 2010 at 12:26 AM, Claude Brisson <[email protected]> wrote:
>
>>>  - tools instantiation is lazier than before, this is a good optimization
>>> but can lead to some side-effects
>>>
>>
>> heh.  it wasn't lazy at all before!  what side effects have you seen?
>>
>
> Exactly, it wasn't lazy at all before, so it is lazier than before, that's
> what I said :-)
>
> The side effects in question are due to bad design choices (like a tool
> setting up some values in the application scope at initialization, and
> templates referencing those values before instantiating the tool itself...).

ew.  yeah, bad choice. :)

> It makes me think that we should have an init-at-startup clause for the
> tools, like the servlets do.

not without a better use case :)

>
>  Claude
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to