Boost logo

Boost :

From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2005-11-09 01:11:38


"Douglas Gregor" <doug.gregor_at_[hidden]> wrote in message
news:48AD9A3F-398E-43A4-BD36-60D2C9556574_at_cs.indiana.edu...
>
> On Nov 8, 2005, at 9:30 PM, Gennadiy Rozental wrote:
>
>>> [Standard anti-policy rant]
>>>
>>> Policies should be used very, very carefully. They introduce a huge
>>> amount of mental overhead, are very hard to combine sensibly, and
>>> create very fragile implementations.
>>>
>>
>> I don't really agree with any of this points. Would you care to
>> elaborate?
>
> Actually, no.
>
> Let's just leave it at this: I've seen the eye-glazing properties of
> various policy-based approaches firsthand, and had more than my fair
> share of debugging and maintaining policy-based implementations. Yes,
> policies are interesting; yes, they are useful in some designs. And
> yes; you should be very careful when choosing to use them.

Yes, one should be careful. But that's about the only statement I am agree
in original post.

Gennadiy


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk