The importance of documentation when programming was drilled into me in college. Even if you aren’t a programmer you can sense the importance of documentation if you can recall writing those 5 paragraph essays back in school. The first paragraph summarized what the essay was about and the fifth paragraph did so again.
This became clear to me today when a coworker asked about some code I wrote recently. I had to pull up the code with him pointing to the trouble spots while doing so. This didn’t ring enough bells to give coherent answers so I had to find a version of the software running the code and look at what the screen was doing.
Eventually I figured it out, but I made the comment several times that life would have been far easier had I taken the time to document what the code was doing and possibly why it did X instead of Y.
Hopefully this will help sink in the importance of documentation and I’ll do a better job of it in the future.
*I’ll also note that I cut over 100 words from this by proofreading.