July 21, 2013

Writing solid code by Steve Maguire (book review)

The writing solid code was published years a ago (1993), from Microsoft. The published date makes it outdated. Thus I was skeptical, but the price of the book made my decision.

The hungarian notation is highlighted and used in code samples, not my cup fortunately. Event though I use alike notation in one project which is there as legacy. There are examples from real development, I always enjoy reading those.

One, the most important note I will keep in my head from this book is : Always ask yourself "How could I prevent this bug.".

What book provides
Use prototypes, assert to catch illegal parameters or impossible conditions, debugging version and stepping through code, interface hard to misuse, code examples plus with questions (answers at the end of the book)
 
My rating
2.5 out of 5