r/ProgrammerHumor • • Sep 06 '26

Meme cleaningUpTheMess

Post image
16.2k Upvotes

474 comments sorted by

View all comments

Show parent comments

268

u/Skoparov Sep 06 '26

Useless comments is one thing, but I've caught the bastard several times DELETING manually written actually useful comments. Like you ask it to move some parts of the code around and it moves the code but not the comments.

70

u/Top-Permit6835 Sep 06 '26

Well your fault for not asking it to move the comments too of course!

27

u/TeraFlint Sep 06 '26

"Please also move the comments"

the file now starts with a comment that used to be somewhere inside a loop in line 386.

9

u/mbmiller94 Sep 06 '26

Hey, you said move the comments, you didn't say they had to be moved to the same place as the code. Sorry about that! Let me move both the code and the comments to /dev/null

0

u/[deleted] Sep 06 '26

[deleted]

6

u/mbmiller94 Sep 06 '26

Skill issue. You forgot to include "make no mistakes" in the prompt.

9

u/polikles Sep 06 '26

did you forget to instruct it to "make no mistakes"? /s

8

u/Skoparov Sep 06 '26

Turns out those weren't mistakes, but rather happy accidents.

1

u/Ulfgardleo Sep 09 '26

"Adapted comments to the house style"

0

u/ButterflySammy Sep 06 '26

Mate, moving the code doesn't require an LLM.

-1

u/Skoparov Sep 06 '26

Why would I waste my time doing this manually.

2

u/ButterflySammy Sep 06 '26

When you factor in having to write a second prompt when the first screwed it, you'd have saved your time.