A couple of months ago I found myself looking up a small trivial code snippet via a developers best friend. It was pry the 7th or 8th time I had looked it up in the past 3-4 years. It does not matter what it was, the point is for some reason certain coding tasks simply escape my memory over and over again. I don't know why this happens, it just does, and I don't think I'm alone.
Most of the time I find what I'm looking for and some times I do not. If not, that means I have to stumble through the .Net object model by hand or on MSDN. When I did find a blog post or MSDN article that answered my question I finally started bookmarking it so I could reference it later when I assuredly would once again forget how to do it or the syntax required. I figured I would start sharing these little tidbits of obvious for two reasons. First, some of them were way more difficult to find then I think they should have been. I figure that if more people wrote about them it would be the first or second result instead of the 73rd. Second, I'm lazy and I want a single place I can come and look at these things and this will make me write them out in the way I want them written out and explained the way I want the explained (that's the Lazy part).
I'm going to call these "Stupid Lazy Dev" posts. Not because you are stupid or lazy if your reading them but because that's how I feel when I go to look these up for the umpteenth time.
Hopefully this will help others save some time and get back to doing something much more productive and important.........surfing the web.
No comments:
Post a Comment