in reply to Re: What habits do you have to avoid introducing bugs?
in thread What habits do you have to avoid introducing bugs?
[..] small procedures rather than a few large oneThis also has the added benefit that is will probably be easier to test. chromatic writes (IntroTestMore.pdf, p32 of 69):
writing testable codeBe sure to read his Perl Testing: A Developer's Notebook.
- the smaller the unit, the better
- the simpler the unit, the better
|
|---|