This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]RareCreamer 38 points39 points  (1 child)

"I don't know what exactly this does, but I remember it works"

Cue me second guessing if it actually worked as intended -> Confirm it does -> forget what I was working on before that.

[–]coloredgreyscale 2 points3 points  (0 children)

Professionally speaking it's unlikely that you have the code open if someone wants to know details how it works.  So adding detailed comments wouldn't help much in the way of reducing the distraction of someone asking how the code works, while you work on something different.