At 11:23 AM 6/11/2002, Sebastian Bergmann wrote:
>   This way, an object of Foo can dynamically change behaviour in a very
>   elegant way.

I'm well aware of the strategy design pattern, but it existed before 'Lava' 
(I use it in Java all the time)...  You can just as easily do this by 
creating a new object with the requested strategy.  The added mess that 
dynamically changing the aggregated objects gives you is not worth the 
benefit, IMHO.

Zeev


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to