Sunday, April 30, 2006

Management and Engineers

A man in a hot air balloon realized he was lost. He reduced altitude and spotted a woman below. He descended a bit more and shouted, "Excuse me, can you help me? I promised a friend I would meet him an hour ago, but I don't know where I am." The woman below replied, "You are in a hot air balloon hovering approximately 30 feet above the ground. You are between 40 and 41 degrees north latitude and between 59 and 60 degrees west longitude." "You must be an engineer," said the balloonist. "I am," replied the woman, "How did you know?" "Well," answered the balloonist, "everything you told me is, technically correct, but I have no idea what to make of your information, and the fact is I am still lost. Frankly, you've not been much help so far." The woman below responded, "You must be in Management." "I am," replied the balloonist, "but how did you know?" "Well," said the woman, "you don't know where you are or where you are going. You have risen to where you are due to a large quantity of hot air. You made a promise, which you have no idea how to keep, and you expect people beneath you to solve your problems. The fact is you are in exactly the same position you were in before we met, but now, somehow, it's my fault." Sahil, you rule!
If you are serious about unit testing, you have to start reading Roy Osherove's blog. He has already written many articles about unit testing, testing guidelines, ... etc. My personal favorites are: Unit Testing Tips Write Maintainable Unit Tests That Will Save You Time And Tears and Achieving And Recognizing Testable Software Designs – Part I. Although I have written my share of unit tests, I'm still considering myself a novice regarding this matter. His well-written articles are a very good reference for me to use, and without a doubt, for you as well. I still regret that I could not make it to his sessions at the Microsoft Dev/IT Pro Days conference. But hey, I had a better session to attend. Maybe I can make it up later on.

Tuesday, April 18, 2006

Why Software Sucks (and What You Can Do About It)

.NET Professor David Platt is soon releasing a new book that is titled Why Software Sucks (and What You Can Do About It). It's a book aimed at end users, not programmers. For those of you who don't know David Platt and his work, go see Rolling Thunder Computing. He's a very funny guy. Oh, and would you buy a used car from this guy? ;-)