Reactions to inherited code

This entertaining Phil Haack post on inherited code definitely tells the truth when it says:

“Here’s the dirty little secret about being a software developer. No matter how good the code you write is, it’s crap to another developer.”

Until I read this post, I hadn’t even thought about the thousands of lines of code I’ve left behind at various employers and how my successors regarded them.  I remember getting very positive feedback from a colleague who wrote the .NET replacement for my VB6/COM+/SQL Server 2000 implementation of our online recruitment tool, but that’s it.  My usual reaction to code I’ve inherited has rarely been empathetic.  Phil’s right in trying to be more understanding.
And to anyone who has inherited my code in the past, I hope I didn’t make your job too hard.