|
|
| We don't bite newbies here... much | |
| PerlMonks |
Re: OO style question: how much information to hide?by dws (Chancellor) |
| on Jun 11, 2003 at 01:22 UTC ( #264929=note: print w/ replies, xml ) | Need Help?? |
|
The more code, the more bugs. 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 Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||