In article <slrnguqvne.eol.n...@irishsea.home.craig-wood.com>, Nick Craig-Wood <n...@craig-wood.com> wrote: > >Python also converted me to using unit tests. If you add unit tests >into your methodology above then when you re-organize (or refactor to >use the modern jargon) the code you can be 100% sure that you didn't >break anything which is a wonderful feeling.
Not quite: you can be 100% sure you didn't break anything you had appropriate tests for. If you use pure TDD (test-driven development), you can be pretty close to 100% comfortable, but my impression is that few people do pure TDD. -- Aahz (a...@pythoncraft.com) <*> http://www.pythoncraft.com/ "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." --Red Adair -- http://mail.python.org/mailman/listinfo/python-list