Notes from Code Complete Use error-handling code for conditions you expect to occur; use assertions for conditions that should never occur Use assertions to document and verify preconditions and postconditions Throw exceptions at the right level of abstraction; include all information that led to the exception Always have a mechanism to log application errors and [...]
-
Recent Posts
- ASP.NET MVC Model Binding Form Inputs To Action Parameters
- Notes on MVC routes mapping
- Things I’d love to learn more about
- "Remember Me" Doesn’t work in ASP.NET
- Regex Inverse Matching
- On Defensive Programming
- Getting Around Dynamic Casting To Achieve Better Design And Performance
- Parsing SQL Statements With Regex
- My Favorite Geek Quotes
- jscalendar shows at the top of the screen in IE7
Archives
Blogroll
-
Blog Stats
- 3,781 hits