The purpose of code comments is to express your wishes and hopes about the code you have written, so that it can be fixed when it doesn't match them, and not explain the behavior of the code, which is self evident and can always be verified by experimenting.

Sign in to participate in the conversation
Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!