I disagree 1000% here :)
Seriously, there are good uses for AddProperty. One of my current projects includes a custom class with some business methods and a basic set of properties. Each instantiation uses AddProperty to add it's own properties at runtime rather than each one having a custom class for each possible instantiation.
As for
purists, I know some of these in different areas and most of them are too narrow minded for my liking.
>Mike - any OOP purist will tell you AddProperty stinks - I don't claim to be an oop purist - but as a general rule - well - AddProperty stinks - it is a bandaid for poor design somewhere else down the chain.
>