On Sat, Nov 02, 2002 at 12:28:38PM +0100, Lars Gullik Bjønnes wrote:
> | I wonder a bit why you suddenly want to make things more visible than
> | they need to be. This does not look like your usual quest...
> 
> It not making things visible, it is more not making things
> invisible...
> 
> And if caching like this is needed, it should most likely be pushed
> out into a wrapper class.

It is local caching in a function for the very well defined purposes
of making that function faster [Probably not needed in this case, but we
are talking about principles]. This is an implementation detail which does
not even have to be documented (except for the loss of re-entrance) let
alone to show up in the class interface or in the class structure...

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)

Reply via email to