On Avoiding Bugs

posted Oct 10, 2009, 8:25 AM by Chris Wenham

Of the major techniques for writing bug-free (or honestly, bug-minimal) code, all of them combine the same two ingredients to make the same special sauce. This next tutorial--How to avoid writing bugs--lists the basic recipe and demonstrates a few of the variations: strong typing, assertions and method contracts, unit tests and TDD.