And more unit tests, fewer bugs.
I favor the explicit style. set_attr() and del_attr() should only work on start tags. To allow otherwise is to risk hiding problems.
In reply to Re: OO style question: how much information to hide?
by dws
in thread OO style question: how much information to hide?
by Ovid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |