this post was submitted on 06 Jul 2024
1528 points (99.4% liked)

Programmer Humor

19111 readers
533 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
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 73 points 2 months ago (12 children)

Comments should explain "why", the code already explains "what".

[–] [email protected] 5 points 2 months ago (2 children)

Unless you're working with people who are too smart, then sometimes the code only explains the how. Why did the log processor have thousands of lines about Hilbert Curves? I never could figure it out even after talking with the person that wrote it.

[–] [email protected] 1 points 2 months ago* (last edited 2 months ago)

If you know how the code does something, you also know what it does.

load more comments (1 replies)
load more comments (10 replies)