Discussion about this post

User's avatar
Chad Phillips's avatar

That code is beautiful compared to 1980s BASIC. With long variable names, nice physical structure, and syntax highlighting, it is pretty easy to assume that modern code doesn't need comments like it did in the BASIC days. It took me a long time to learn that things that seem obvious when I am writing a piece of code are not always obvious years later. There's no better teacher on the value of comments than having to reuse code you wrote in the distant past. Turns out my memory is not very good. As a good friend of ours used to say, a short pencil is better than a long memory.

Expand full comment
1 more comment...

No posts