this post was submitted on 08 Jul 2023
600 points (98.5% liked)

Programmer Humor

32455 readers
882 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
[–] bleistift2@feddit.de 29 points 1 year ago (2 children)

Hot take: Even these ‘useless’ comments help, since they relieve you of the burden of reading the code itself, even if it’s trivial. One line of English is easier to parse than one line of trivial code.

[–] sznio@lemmy.world 16 points 1 year ago (2 children)

Yep.

But reading one outdated line of English is worse than reading 5 lines of code and seeing the true picture.

[–] chris@lemm.ee 8 points 1 year ago

Or, if you're my manager, there's just one comment at the top that says "for pizza"

[–] bleistift2@feddit.de 1 points 1 year ago

I don’t feel like “ditch comments” is the right solution to “we {forget, don’t care enough} to update comments”.

[–] Rumo@feddit.de 3 points 1 year ago

Exactly! Maybe i've never seen a Pizza Box before. For you your code may be trivial. But for someone else an "open before eating" helps a lot.