How programmers comment their code

Andromxda πŸ‡ΊπŸ‡¦πŸ‡΅πŸ‡ΈπŸ‡ΉπŸ‡Ό@lemmy.dbzer0.com to Programmer Humor@programming.dev – 1511 points –
143

You are viewing a single comment

You must be fun to work with.

you say this like im the type of person to write code with other people.

Doesn't matter. Even if it's your code, you might revisit something you made months or a year after doing it and having comments will speed up your work. It's a very basic good practice.

i do have comments, for some things, but there are a lot of "commenting" standards that are just shit. I find i don't care what the actual piece of code is doing, i care more about it's place in the rest of the code, and i'd much rather have "anti comments" instead.