277
submitted 3 weeks ago* (last edited 3 weeks ago) by rbits@lemm.ee to c/programmer_humor@programming.dev

Comment from my group project teammate. You don't need to comment every line lol

you are viewing a single comment's thread
view the rest of the comments
[-] FQQD@lemmy.ohaa.xyz 17 points 3 weeks ago

I mean, it's better to have to many comments than not enough

[-] docAvid@midwest.social 52 points 3 weeks ago

It's better to have useful comments. Long odds are that somebody who writes comments like this absolutely isn't writing useful comments as well - in fact, I'm pretty sure I've never seen it happen. Comments like this increase cognitive overhead when reading code. Sure, I'd be happy to accept ten BS useless comments in exchange for also getting one good one, but that's not the tradeoff in reality - it's always six hundred garbage lines of comment in exchange for nothing at all. This kind of commenting usually isn't the dev's fault, though - somebody has told a junior dev that they need to comment thoroughly, without any real guidelines, and they're just trying not to get fired or whatever.

[-] Fades@lemmy.world 4 points 3 weeks ago

Wonderfully said, I’ll be linking your response

load more comments (8 replies)
this post was submitted on 10 Jun 2024
277 points (94.8% liked)

Programmer Humor

18244 readers
994 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS