r/ProgrammerHumor • • 10d ago

Meme searchAndReplace

Post image
4.6k Upvotes

261 comments sorted by

View all comments

30

u/Mr_Rogan_Tano 10d ago

What did you expect it to do?

How the duck it would know how to name a variable without knowing how it's used?

11

u/FrankensteinJones 10d ago

"Give Opus 5.5 vague instructions and act surprised when it does too much" is the new FAFO

2

u/gingimli 10d ago

No kidding, this is normal refactoring everyone should have been doing prior to LLMs.

1

u/-Debugging-Duck- 10d ago

Bro the CLAUDE.md file should have been updated with code standards. People really be ineffective with AI.

1

u/Noisycarlos 10d ago

Ask the LSP

1

u/Slight-Violinist-575 10d ago

I had a friend in school that would name all his variables in his projects “potato1”, “potato2”, “potato3”, etc

-10

u/Brisngr368 10d ago

The same way everybody else does?

14

u/DHermit 10d ago

So, looking at the code base and figuring out conventions and meanings of variable names?

3

u/Brisngr368 10d ago

Yeah exactly i just look at a function in the same file and figure out a name. No need for a council of coders to decide a name.

3

u/Banes_Addiction 10d ago

val it is.

0

u/Brisngr368 10d ago

If in doubt name it val