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

Programmer Humor

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

you are viewing a single comment's thread
view the rest of the comments
[–] 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.