this post was submitted on 14 Mar 2025
88 points (97.8% liked)

Programmer Humor

35176 readers
88 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
[–] [email protected] 3 points 1 month ago (1 children)

Write an ungodly large amount of code-comments - up to a point where you add 20 lines of explanations to a 6 lines long function where two lines are variables assignments.

Source code is for humans to read. The compiler ignores the comments.

[–] [email protected] 0 points 1 month ago (1 children)

Somebody has to maintain the ungodly large amount of comments as the code gets updated over time, and if people screw that up then the comments become less than useless.

[–] [email protected] 3 points 1 month ago

That's the downside, yes.