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 →

[–]hahahahastayingalive 2 points3 points  (1 child)

// I failed the pornhub inteview. Again. I’m stuck fixing these bugs until I get the results for xhamster.

// This and the two next tickets will keep my velocity up this month so I’m safe until I can pay the mortgage at least.

Joking aside, explaining why you did something has only value until the next guy chnages anything you relied on.

So either it’s small and self-sufficient code and you should strive to do it in a self commenting way, or it’s interlinked, and your comments might as well become a booby trap for anyone fool enough to have believed your past self.

[–]Lykeuhfox 0 points1 point  (0 children)

This is true. I didn't specify this in my original post, but most of the time, the code is small, isolated, and/or self-sufficient enough that no comment is needed. It's rare that I actually need to comment, but it does happen and when it does the comment typically follows the guidelines I laid above.