Time to look for a new line of work...

Peak Gemini moment

213 points · 12 comments · view on lemmy.world

12 Comments

thann@lemmy.dbzer0.com · 39 pts · 349d

// hire an actual programmer to fix this.

four@lemmy.zip · 35 pts · 349d (2 replies)

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

Cruel@programming.dev · 10 pts · 349d

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

joyjoy@lemmy.zip · 6 pts · 349d

// @ts-expect-error

abbadon420@sh.itjust.works · 21 pts · 349d

What about //TODO ?

goatinspace@feddit.org · 16 pts · 350d

└(・。・)┘

PattyMcB@lemmy.world · 10 pts · 349d

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

A_norny_mousse@feddit.org · 6 pts · 349d (3 replies)

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 pts · 349d (1 reply)

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.

A_norny_mousse@feddit.org · 6 pts · 349d

Thanks.

Cruel@programming.dev · 2 pts · 349d

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 pts · 349d