Today's recommended reading installment takes us back to 1993 and Steve Maguire's excellent book: Writing Solid Code (Microsoft Press, ISBN: 1-55615-551-4).  This book contains an excellent collection of insights on how to make your code more robust and useful suggestions to help you find bugs faster.

While the focus of Writing Solid Code is on "Developing Bug-Free C Programs", many of the recommendations (ex: careful function definition, use of asserts, etc) transcend the choice of programming language and are relevant in today's managed code world.

During my recent re-read of this book, I was reminded why I recommend it even twelve years after it's publication -- the chapter titled "Candy Machine Interfaces".  This chapter has stuck with me, and has influenced how I write my code ever since.

Happy reading!
-- DK

Disclaimer(s):
This posting is provided "AS IS" with no warranties, and confers no rights.