tag:blogger.com,1999:blog-3898419730098445925.post3291229568455471251..comments2015-08-31T08:28:43.440-07:00Comments on PATPAT: Program analysis, the practice and theory: What is defensive programming?Michael Ernsthttp://www.blogger.com/profile/09671692869356186687noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-3898419730098445925.post-954151530840425942011-12-12T17:07:35.519-08:002011-12-12T17:07:35.519-08:00The worst kind of defensive programming I've s...The worst kind of defensive programming I've seen is when an implementation detects incorrect (as per the spec) argument but, instead of failing (possibly with an exception or an error), it pretends that nothing happened. This usually results in an error further down the line, which is very hard to trace back to the original condition.Anonymousnoreply@blogger.com