Author: KarinsDad
Date: 09:20:37 02/11/99
Go up one level in this thread
On February 10, 1999 at 22:03:15, Will Singleton wrote: >On February 10, 1999 at 20:53:11, James Robertson wrote: > > >>... And I'll keep hunting for bugs. Just the other day >>I found a huge one in the pawn hash that was effectively rendering it >>useless.... I keep thinking I have cleared all the bugs because it plays a >>reasonable game, but then I find a new one..... :( >> >>James > >Unless you're better than the rest of us hackers, you'll continue to find bugs >until the Second Coming (which I'm too old for anyway :)). And, rest assured, >there's always one more bug. > >Will Three suggestions to minimize bugs. 1) Do what you do at work (for you programmers that do this for a living). Write a unit test suite (possibly as simple as adding asserts) to test each and every routine in the code. 2) Ask another programmer (preferably one with some smarts) to walk through your code with you. Let him explain to you what your code does (as opposed to the other way around). 3) Debug, debug, debug, ... KarinsDad
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.