Saturday, November 03, 2007

Dear Lazyweb: How to make less coding errors

I just read Daniel J. Bernstein's paper on how to write secure software. It basically boils down to "Don't make programming errors!". This reminded me of an article which I read roughly a decade ago in c't magazine about a technique to reduce the numbers of errors when coding. If i recall correctly it worked like this: Write code, then debug it and pay attention what kind of errors you made and in what part of the process you made them. Then figure out ways to avoid those errors in similar situations in the future.

Despite spending some quality time with google I could not find a trace of this technique, let alone a name. Can someone please help me?