Skip to main content
Post Made Community Wiki
Source Link
biziclop
  • 3.4k
  • 23
  • 22

You shouldn't document what the code is doing, but you should document why it's doing it.

No amount of naming trickery will expose the whys and wherefores, so you have to add comments to explain the purpose of the various bits of code.

All the other comments can safely be get rid of.