1220
More the merrier (lemmy.world)
you are viewing a single comment's thread
view the rest of the comments
[-] nothacking@discuss.tchncs.de 3 points 1 year ago

This actually makes a lot of sense. A computer executing the code and a human maintaining it need to know different things. A human needs to knon what the code does on a high level (what the programmer intended), how it handles (or does not handle) edge cases, etc. A computer only needs to know how to run the code at a super low level. Without comments, it is impossible to know if code is doing the right thing, or what is expected from the caller.

this post was submitted on 20 Aug 2023
1220 points (99.0% liked)

Programmer Humor

19197 readers
1128 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS