
9 Nov
2005
9 Nov
'05
5:43 a.m.
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. Doug