161
submitted 2 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
[-] pfm@scribe.disroot.org 8 points 2 months ago

You're definitely not the only one.

In my opinion the important information we should record in comments is WHY, because the code can only explain HOW, maybe WHEN, but never WHY. If we don't know WHY, any refactoring done in the future could break the logic by ignoring assumptions made by the authors.

[-] el_abuelo@programming.dev 2 points 2 months ago

// because I said so.

this post was submitted on 08 Sep 2024
161 points (97.1% liked)

Programmer Humor

32386 readers
769 users here now

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

Rules:

founded 5 years ago
MODERATORS