this post was submitted on 06 Jul 2024
1503 points (99.5% liked)

Programmer Humor

19480 readers
1678 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
(page 2) 50 comments
sorted by: hot top controversial new old
[–] [email protected] 5 points 4 months ago (2 children)
[–] [email protected] 3 points 4 months ago

I don't know. Anyway, DankPods is awesome, there's a great Lemmy community dedicated to his channel: [email protected]

load more comments (1 replies)
[–] [email protected] 5 points 4 months ago (8 children)

How bad programmers comment their code. Good programmers don't comment at all and let the code speak for itself, leaving commenting to some obscure and arcane implementation the coder left in after a week long binge on caffeine and gummy bears.

[–] [email protected] 6 points 4 months ago* (last edited 4 months ago) (1 children)

This is the truth. In my experience, the people who often writes comments are also writing the most incomprehensible code.

Comments are frequently getting outdated as well, so they’re not in great help understanding the code either.

[–] [email protected] 4 points 4 months ago

I was rewriting some old code of mine and ended up stripping out the comments. I kept reading them instead of the code, which I had been changing, and they were irrelevant. (I added new comments back in, though a big reason to rewrite was to make the code more self-explanatory.)

load more comments (6 replies)
[–] [email protected] 5 points 4 months ago (1 children)

A real comment in our junior year game engine codebase.

load more comments (1 replies)
[–] [email protected] 3 points 4 months ago

Fs.?g??yy V>

load more comments
view more: ‹ prev next ›