▲ 279 ▼ University Students (lemm.ee) submitted 2 years ago* by rbits@lemm.ee to c/programmer_humor@programming.dev 61 comments fedilink hide all child comments Comment from my group project teammate. You don't need to comment every line lol
[+] smeg@feddit.uk 3 points 2 years ago (1 child) [deleted] permalink fedilink source parent hideshow 2 child comments replies: [–] Starbuck@lemmy.world 4 points 2 years ago If I see comments explaining every other line, especially describing “what” instead of “why”, I assume the code was written by a recent grad and is going to be bad. Describing what you are doing looks like you are doing a homework assignment. Like on that line, obviously we’re initializing a variable, but why 1 instead of 0? Could be relevant to a loop somewhere else, but I guess I’ll have to figure that out by reading the code anyways. permalink fedilink source parent
[–] Starbuck@lemmy.world 4 points 2 years ago If I see comments explaining every other line, especially describing “what” instead of “why”, I assume the code was written by a recent grad and is going to be bad. Describing what you are doing looks like you are doing a homework assignment. Like on that line, obviously we’re initializing a variable, but why 1 instead of 0? Could be relevant to a loop somewhere else, but I guess I’ll have to figure that out by reading the code anyways. permalink fedilink source parent