By bloid
via hans-eric.com
Published: Aug 28 2007 / 05:53
If you are a defensive programmer like me, you make heavy use of assertions to guard assumption you make in your code. For example, a method for adding an order item to an order object could look something like this



Add your comment