¶I hate reading Raymond Chen's blog
Raymond Chen is a long-time Microsoft employee who was on the Windows 95 team and now has a blog called The Old New Thing. It's a rather fascinating blog, one filled with lots of good programming tips and Windows history. Some of the anecdotes about Windows 95's development are quite funny.
However, it's a very depressing blog to read sometimes.
You see, the problem is that occasionally he'll post an entry about some aspect of the Win32 API and explain its common pitfalls and how it is supposed to be used. So it was with some dread today that I read his article about DeferWindowPos() and its funny behavior with regard to the HDWP handle it accepts and the new HDWP handle it returns. Sure enough, a Find-in-Files search of the VirtualDub 1.6.8 codebase revealed three places where I was calling DeferWindowPos() incorrectly. Sigh.
I love reading his blog because it's full of great information, but I hate reading it because every time I do I have to fix more bugs.