89
Senior Wisdom (lemmy.ml)
submitted 4 months ago by yogthos@lemmy.ml to c/programmerhumor@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] Dirk@lemmy.ml 3 points 4 months ago

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.

[-] yogthos@lemmy.ml 0 points 4 months ago

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.

[-] Dirk@lemmy.ml 3 points 4 months ago

That's the downside, yes.

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

Programmer Humor

37204 readers
808 users here now

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

Rules:

founded 5 years ago
MODERATORS