in reply to Re: Re: Cleaning up HTML tags
in thread Cleaning up HTML tags
It seems to me that keeping state is not the issue but more the holding on to the rules. If you have a procedural interface you are presumably going to need some internal variable that holds the rules between setting them and using them. This is fine unless you want to apply different rules to the html depending on the conditions. If that's the case then you are always going to keep changing the rules with a procedural interface. With the OO one you can just have different objects and you can give them nice helpful names.
Of course if you're not doing this then it might be moot but it's seems like a good reason to use an OO interface to these sort of modules.
Struan
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Cleaning up HTML tags
by cleverett (Friar) on Aug 27, 2003 at 03:29 UTC |