Building testing right into code makes life so much easier. It may seem like a huge waste of time, but when you don’t have much time a simple error message makes a world of difference. Debugging without a clue is no fun, so glad I over error message. Test early and often!
On that same over-protective coding note… I have been writing my server side ‘stop client-hackers’ for every protocol message. Here is to hoping the game will not be ruined by exploiters!