2 comments

[ 3.0 ms ] story [ 16.6 ms ] thread
That's such a great effort, and a laborious undertaking!
>Writing documentation finds bugs in the code

This is so true. I've found documenting how a function should behave concentrates the mind on how it might actually not behave in that way and yields good tests that very often find bugs.