this post was submitted on 27 May 2025
2070 points (99.5% liked)

Programmer Humor

23694 readers
1110 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 2 years ago
MODERATORS
top 50 comments
sorted by: hot top controversial new old
[–] ikidd@lemmy.world 9 points 6 days ago* (last edited 6 days ago) (1 children)
[–] MonkderVierte@lemmy.ml 279 points 1 week ago (14 children)

Code that does not work is just text.

[–] galoisghost@aussie.zone 173 points 1 week ago (5 children)

I’ve never thought of it that way. I’m going to add copy writer to my resume.

load more comments (5 replies)
load more comments (13 replies)
[–] coherent_domain@infosec.pub 149 points 1 week ago* (last edited 1 week ago) (33 children)

The image is taken from Zhihu, a Chinese Quora-like site.

The prompt is talking about give a design of a certain app, and the response seems to talk about some suggested pages. So it doesn't seem to reflect the text.

But this in general aligns with my experience coding with llm. I was trying to upgrade my eslint from 8 to 9, and ask chatgpt to convert my eslint file, and it proceed to spit out complete garbage.

I thought this would be a good task for llm because eslint config is very common and well-documented, and the transformation is very mechanical, but it just cannot do it. So I proceed to read the documents and finished the migration in a couple hour...

[–] petey@aussie.zone 0 points 6 days ago

I used Claude 3.7 to upgrade my eslint configs to flat and upgrade from v7 to v9 with Roo Code and it did it perfectly

load more comments (32 replies)
[–] Irelephant@lemm.ee 114 points 1 week ago (16 children)

Ai code is specifically annoying because it looks like it would work, but its just plausible bullshit.

[–] petey@aussie.zone 1 points 6 days ago

It needs good feedback. Agentic systems like Roo Code and Claude Code run compilers and tests until it works (just gotta make sure to tell it to leave the tests alone)

load more comments (15 replies)
[–] Xerxos@lemmy.ml 88 points 1 week ago (11 children)

All programs can be written with on less line of code. All programs have at least one bug.

By the logical consequences of these axioms every program can be reduced to one line of code - that doesn't work.

One day AI will get there.

load more comments (11 replies)
[–] haui_lemmy@lemmy.giftedmc.com 77 points 1 week ago (1 children)

Welp. Its actually very in line with the late stage capitalist system. All polish, no innovation.

load more comments (1 replies)
load more comments
view more: next ›