this post was submitted on 02 Oct 2023
1281 points (98.4% liked)

Programmer Humor

32495 readers
670 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
[โ€“] BlackPenguins@lemmy.world 1 points 1 year ago (1 children)

But at the same time you can over comment. If your variables are self described it's not needed.

[โ€“] dustyData@lemmy.world 4 points 1 year ago

I never said anything about comments. My professor advocated that the code should tell yourself and other humans what it was making the machine do. Comments should document the design and the architecture. Not explain the code. A well designed and correct code needs few comments.