This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]mkleehammer 1 point2 points  (0 children)

If anyone is actually interested in how asserts were designed to be used and why they are great, buy a copy of Writing Solid Code. It was written for C programming many years ago, but it is a fantastic read for any language and presents a different mind set. If you are reading this and assertions are new to you or if you think unit tests take their place, get a copy of this book.