this post was submitted on 05 Sep 2025
211 points (97.3% liked)

Programmer Humor

26220 readers
2221 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
 

Peak Gemini moment

top 12 comments
sorted by: hot top controversial new old
[–] four@lemmy.zip 34 points 5 days ago (2 children)

Thank god it didn't do @eslint-ignore-error missing-property instead lol

[–] Cruel@programming.dev 11 points 4 days ago

My favorite is when it just removes erroneous code. Problem solved!

[–] joyjoy@lemmy.zip 6 points 4 days ago* (last edited 4 days ago)

// @ts-expect-error

[–] thann@lemmy.dbzer0.com 38 points 5 days ago

// hire an actual programmer to fix this.

[–] abbadon420@sh.itjust.works 21 points 5 days ago

What about //TODO ?

[–] goatinspace@feddit.org 16 points 5 days ago

└(・。・)┘

[–] PattyMcB@lemmy.world 10 points 5 days ago

Yeah...good luck, SkyNet. You're not quite there yet

[–] A_norny_mousse@feddit.org 6 points 5 days ago* (last edited 5 days ago) (2 children)

~~I'm not sure what this is about, but~~ this looks like something my definitely not AI, hell not even a proper IDE, code editor with syntax highlighting could have flagged as well?

[–] qarbone@lemmy.world 21 points 5 days ago (1 children)

Read the images top-to-bottom, left-to-right.

They used a shortcut to call the LLM to fix an error. The final "fix" was for the model to add a comment after the error saying "this is the error". It's about at the level of a real developer leaving a comment to themself saying "FIXME [later]", instead of just fixing it.

[–] Cruel@programming.dev 3 points 4 days ago

Yeah, the TS syntax highlighting already saw the problem, as it's underlined. I just tried to have it fix it real quick (it used Gemini Code Assistant's quick fix). Trying it a second time actually fixed it, fwiw.

[–] GreenKnight23@lemmy.world 3 points 4 days ago