Wednesday, July 20, 2005


I have very few coding pet peeves. I dislike hard to understand code as much as the next guy, but in a world with deadlines, push bosses, and other stresses, perfect code is about as hard to come by as perfect people. Secondly, I tend to have very little problem "reading" hard code. I think that actually makes me a worse programmer. Though the other day I ran into an error in some code that was written by an coworker.

Work Law Number 3
If using try catch, do something with the error, even it is a nice pop up stopping work, do not just throw the error away. If you catch the error, but do not report it you are just hiding the error, which makes it nearly impossible to find.

Previous work law


No comments: