this post was submitted on 28 Sep 2024
1148 points (99.0% liked)

Programmer Humor

32144 readers
47 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] doktormerlin@feddit.org 1 points 1 day ago (1 children)

But it's also important to learn that comments should be brief and concise. We have one file from an ex-dev in which there are 750 lines of code and 2000 lines of comment, when someone wants to maintain this code they always have a hard time because this many comments are taking up so much screen real estate that you can't find the code that actually does stuff

[–] shasta@lemm.ee 2 points 1 day ago (1 children)
[–] ZILtoid1991@lemmy.world 1 points 1 day ago

I only have a 3k monitor, and I can manage it. Sometimes I comment line-by-line even.