r/ProgrammerHumor • • Oct 31 '26

Meme searchAndReplace

Post image
4.6k Upvotes

258 comments sorted by

45

u/lysergicpride Oct 31 '26

I asked Claude to prettify a CSS file and it started writing a python script

4

u/vintergroena Oct 31 '26

Every. Time.

20

u/Real-Self-3039 Oct 31 '26

Every time I see claude say "the pyhton script failed" while its working I'm like "python??? I asked you to write an md file of the changes you made wtf do you need python for?!"

23

u/Mu5_ Nov 01 '26

Because it tries to avoid ingesting and spitting out too many tokens, so it uses scripts to modify or read only what's needed. Remember that if Claude directly writes a 1MB text file, that's considered all output tokens. If it makes as script that injects text at the right place is much less

→ More replies (2)

9

u/candybrie Oct 31 '26

It seems to want to edit documents with Python. It's also how it seems to want to check that it wrote a valid md file.

18

u/Tyrus1235 Oct 31 '26

I don’t know why, but Claude Code is in love with Python. It makes Python scripts for everything.

It’s a bit awkward

23

u/MattR0se Oct 31 '26

It automated the boring stuff lol

9

u/Real-Self-3039 Oct 31 '26

It automated the automation 🤣

4

u/Piranha771 Nov 02 '26

It's because a python script is determistic. Ask an AI to rename 400 occurrences in a repo using only inference will only work 99,9% of the time. Writing a python script that renames it and verifies it will work 100% of the time, with a lot less tokens wasted.

3

u/Old_Flounder_8640 Nov 01 '26

Even AI hates bash hahah

2

u/lysergicpride Nov 01 '26

I love bash, does this mean my existence is irreplaceable?

2

u/_ahrs Nov 01 '26

It is still better than when it tries to vomit out pages and pages of Bash scripts. At least I consider the Python it produces to be readable.

2

u/ReplacementLow6704 Nov 01 '26

For me it mostly creates js scripts. Distasteful to say the least

2

u/Flat-Performance-478 Nov 02 '26

Lowest Common Slopominator.

17

u/StarHammer_01 Oct 31 '26

Cus for stuf like that you want something that is deterministic, python is deterministic, Claude is not

→ More replies (8)

5

u/tom_earhart Oct 31 '26 edited Nov 03 '26

Because it is the most efficient use of resources: a local script rather than more roundtrips. If you don't want it you can add a guardrail to not use local scripts.

1

u/EatingSolidBricks Oct 31 '26

A real script file or it just raw dogged python into bash

1

u/kingvolcano_reborn Oct 31 '26

That is actually good, saves tokens

11

u/seweso Oct 31 '26

Paying for a service which then buys more of its own service cause the origional service can't do as promised...... is WILD.

Are you all paying for all that?

How is this going to work if tokens aren't subsidized anymore???

5

u/vintergroena Oct 31 '26

That's the neat part: It's not going to work. Enjoy the freeride while it lasts.

2

u/seweso Nov 01 '26

Enjoy the free heroin!! Your brain will love it! 

2

u/vintergroena Nov 01 '26

They told us in high school that drug dealers are gonna offer us initial doses for free to get us hooked. Biggest lie ever

Now AI corporations are doing it 😭😭

→ More replies (1)

4

u/amo_pessoas_peladas Oct 31 '26

This has been my mindset as well. I'm doing some projects I know I would not be able to do if I didn't have a overachiever task-fetishistic intern working for less than minimum wage because of subsidies. I'm avoiding projects that rely on big models at all costs to run and any LLM related project I implement needs strictly to run in my low vram laptop.

Pop the bubble! ( But wait a bit for me to push a couple things first)

1

u/Himbo69r Oct 31 '26

Yup I’m lowk tempted to buy just to fuck around before the crash hits

→ More replies (1)

6

u/ACoderGirl Oct 31 '26

Are you all paying for all that?

Nope. My employer does and gives me a very generous daily quota. As long as I'm not hitting my quota, I don't care about token usage. My employer has given me zero reason to care, as they've made it clear that velocity is the most important thing to them. And since I'm multi tasking, I don't care much how fast the AI is. Much more important that it's correct and sensible. There's no time alloted to optimize token usage unnecessarily.

4

u/seweso Nov 01 '26

Would you do drugs if your employer paid for it? Heroin? Coke?

What would you do you your brain for free? 

2

u/m0rpeth Oct 31 '26

Have you ever considered that none of what you just said is to your advantage?

4

u/ACoderGirl Oct 31 '26

Why do you figure? I'm doing exactly what they want me to do. My management chain has made it very clear that they want velocity and are willing to pay for it. They've been very encouraging of increased AI adoption and experimenting with new ways to use it.

More than that, I'm an extremely productive programmer, too. If they were to clamp down on quotas or straight up remove most AI, I'll be more than happy to go back to "trad coding". I'm the kinda person that people come to when AI can't figure things out, so I'll be perfectly fine without AI. Everyone's just burning tokens, but not everyone has the skill to go back to the old ways.

And if leadership decides that this is a problem and we gotta optimize this, awesome, I love optimizing things (admittedly, tokens are the thing I find least appealing to optimize). I'm happy to have the job security of more work to be done lol. But that's just not what they're saying right now.

3

u/m0rpeth Oct 31 '26

I'll be more than happy to go back to "trad coding".

Have you tried? Honestly, that is - not by telling yourself that you absolutely could, but won't, due to X.

I'm the kinda person that people come to when AI can't figure things out, so I'll be perfectly fine without AI.

That, to me, seems sounds like a false equivalence.

Everyone's just burning tokens, but not everyone has the skill to go back to the old ways.

Skill isn't something you aquire once and then retain forever. In addition to that, skill isn't the only factor.

→ More replies (1)

2

u/InFa-MoUs Oct 31 '26

Not yet but they will soon tho, so many projects out there where the AI is the expert and if tokens get cut the project is completely halted

4

u/m0rpeth Oct 31 '26

While I consider the term 'expert' to be a pretty big stretch here, I generally agree. It's exactly what I'm seeing at work, too. More than half of my team is now routinely submitting PRs containing code they, by their own admission, do not understand. "I had a problem and this is how AI fixed it".

They do not consider this an issue, either.

→ More replies (4)

2

u/Blue_Moon_Lake Oct 31 '26

As long as you're not the one paying for it, maxing your tokens is costing Anthropic more than they earn from it.

2

u/seweso Nov 01 '26

Not afraid of what it does to your brain? 

Do you do all drugs as long as they are free?

1

u/Blue_Moon_Lake Nov 01 '26

Oh, I don't use it for doing my thinking for me, I just waste the tokens asking it useless stuff I don't even end up using.

Never did any drug.

→ More replies (1)

1

u/Flat-Performance-478 Nov 02 '26

This is the wild part to me!

Just as they started talking about more people should pay for tokens, Google just plasters its Search AI onto every search by default. It's really fucking with me.

I can't figure out whether it was just a panicky last-minute decision for Google to jump onto the AI POWERED train in fear of missing out or if they thought it would somehow look better on paper if every google search now meant their AI was being used.

→ More replies (1)

1

u/-Debugging-Duck- Oct 31 '26 edited Oct 31 '26

Is it Claude’s fault people don’t properly setup their Claud.md file? You can literally avoid a bunch of these issues. lol

I pay $19 a month and it’s enough for my personal projects. Unlimited tokens up to high effort with great models during a 5 hour window which is good.

Configured my file to ask me for permission before running UI tests where it controls the simulator to test the changes it made, and much more. Literally update the file with code standards, rules, etc. and you’ll be good most of the time.

1

u/Tyrus1235 Oct 31 '26

Yeah, it’s what I did with mine. I said it should always strive to follow SOLID and Clean Code guidelines and ask me before doing any high effort/high cost task.

Also told it to not fill my C drive lol otherwise it’s be full of crap and my Windows installation would suffer.

2

u/Easy_Floss Nov 01 '26

Someone at work just made a skill that would build everything and make md files as a report for each step on push, needless to say it was not popular.

→ More replies (1)

8

u/FlowOfAir Oct 31 '26

ME THIS WEEK HOLY FUCK

I had to be VERY explicit. Do this replacement in this codebase exactly like I am describing. Then I had to add: assume the codebase works like this, assume I am right, don't investigate, don't find more data.

Just for an edit in one file...

4

u/vintergroena Oct 31 '26

Productivity going to the Moon 🚀🚀🚀

27

u/benjyvail Oct 31 '26

Just make the edit yourself at that point?

8

u/FlowOfAir Oct 31 '26 • Regret

Couldn't. The problem was, I had my focus divided amongst various projects, so the faster I can kick off something the faster I can go back to other tasks.

Which, you know. Is unhealthy as shit, but we're being pressured by multiple fronts to do the impossible.

My morale is on the ground :(

6

u/Saragon4005 Oct 31 '26

And management is surprised you are burning through tokens.

6

u/FlowOfAir Oct 31 '26

Correct! I actually fed that back to them. I can't be kept pushing on tasks and be mindful of token usage.

3

u/Honeybadger2198 Oct 31 '26

You can't take 15 minutes to do a task?

→ More replies (1)

4

u/-Debugging-Duck- Oct 31 '26

Bro update the CLAUDE.md file or add skills. You can avoid so many issues.

2

u/JesusWasATexan Oct 31 '26

My Claude.md contains an index of subfolders with several dozen other MD files covering most of the things I work on. It's taken a lot of time to build up, but amazing when I can now start a chat with a short statement about a task and it knows exactly what to do.

1

u/TrueBirch Nov 01 '26

There are so many situations like that where I just write the code myself instead of hoping the LLM understands what I want and doesn't do anything extra

1

u/HawtHamWater Oct 31 '26

gotta use like sonnet or haiku for those tasks, they’re not smart enough to do anything more lol

4

u/FlowOfAir Oct 31 '26

Yeah I was thinking that. I like Opus but I'm realizing it's too good.

2

u/Flat-Performance-478 Nov 02 '26

"Good" is an interesting choice of word here. 😉

→ More replies (1)

860

u/XxDarkSasuke69xX Oct 31 '26

The issue with making something that tries to be as smart as possible, is that it doesn't know what good enough is

299

u/FuelSilly1541 Oct 31 '26

Told mine to be as short with the response as it could, max 5 sentences per response. If I need more info, then I ask.

Still: "yeah sure, I keep it short.... (2 paragraphs of unnecessary yapping about why it keeps the response short).... and therefore I end my TedTalk and am open for further discussion of this topic, as you requested."

sigh

111

u/PossibilityUsual6262 Oct 31 '26

In my experience telling ai dont do something as part of "thinking" at the way to the result would just remove that something from a response.

"How thing can be done, dont generate code" - generates code and strips it from response.

51

u/AnAwkwardSemicolon Oct 31 '26

My experience is that AI suffers horribly from the "Pink elephant" problem. The more you mention _not_ doing something, the more it's going to do that thing.

4

u/attentionisallyaneed Nov 03 '26

You just said the same thing they said. Just added a terminology.

31

u/Slight-Violinist-575 Oct 31 '26

Which means it still spends tokens?

42

u/PossibilityUsual6262 Oct 31 '26

Yep, prob cheaper thinking tokens, but basically you cannot fight internal "thinking" backed into weights with commands do/do not, but you can guide it.

As another user said, if you make it clear that you in architecture stage, full implementation is unlikely to be generated, unless needed.

25

u/lobax Oct 31 '26

If anything they are like five years old, if you tell them “don’t eat the cookies” then all they will ever think about is eating the cookies.

You have to tell them what to do instead.

3

u/soowhatchathink Oct 31 '26

wait are thinking tokens cheaper?

9

u/Skusci Oct 31 '26 edited Oct 31 '26

Lol, no.

Thinking is still output, it's just hidden from the end user.

2

u/BarmelloXanthony Oct 31 '26

Yep I tell it we’re planning things out before actually making any change

2

u/XxDarkSasuke69xX Oct 31 '26

Really ? That's weird because in its reasoning it's taking into account the whole prompt, so if it "understands" you don't want code I have a hard time believing its reasoning would still lead him to generate code. Did you actually observe the behavior you're describing on a model or platform that allows to read the reasoning of the AI ?

3

u/Flat-Performance-478 Nov 02 '26

I recall talks about the LLMs prioritizing the last thing you talked about in your prompt.

So if your prompt is:
"Take a look at this code.
See if there are any spelling errors.
My editor doesn't highlight anything.
I'm starting to suspect a dependency might be missing."

It'll hyper-fixate and come back to the "missing dependency" part throughout the session. But don't take my word for it. It's just something that stuck with me.

→ More replies (1)

15

u/wunderbuffer Oct 31 '26

Oohh, so that's where my annoying coworker got his speech pattern from

4

u/Valendr0s Nov 01 '26

I have it

  1. Give me a 1-2 sentence summary up top.
  2. Give me actions for me at the bottom in a short list.

Then I mostly ignore what's in the middle.

Also, I have a standing order to not DO anything until I say so. I often want to bounce ideas back and forth, and discuss things before we pull the trigger. So if I just wanted a variable renamed, it would be very clear before it started working.

3

u/hibbity Oct 31 '26

you gotta use the words "terse" and "reserved" in the personality instructions.

1

u/Storiaron Nov 01 '26

I once asked (i think it was chatgpt) to limit its response to x number of words.

And the response it gave was still ultra verbose, but it cut out in the middle of a sentenc ewhen it reached my X limit

Ty very cool

10

u/byteminer Oct 31 '26

—model Claude-sonnet-5-5 —effort low tends to be useful when doing little nitpicky style choices like that. Don’t go refactoring things or changing logic, but just picking names and wording comments, put Claude in “fuck it” mode.

15

u/RazarTuk Oct 31 '26

Also, making something too dumb can also cause problems. For example, Kiro recently interpreted "Commit these changes onto a new branch branched off from the hotfix / minor release branch" as "Make a new branch that points to the hotfix branch as its remote", not "Pull the latest hotfix branch, make a new local branch off it, and commit the changes"

12

u/amusing_trivials Oct 31 '26

Look I get letting them write code, but why would they ever have git commit permission

1

u/anto2554 Oct 31 '26

I have before accidentally overwritten main because it did that

2

u/RazarTuk Oct 31 '26

Actually, that reminds me of a cool programming story. I actually got to force push to master last year. Basically, we have a custom extension of JmesPath that adds things like arithmetic operators, so instead of just importing the burtcorp implementation and adding a shit ton custom functions, we actually forked it. But instead of properly forking it, we actually just made a new repo. So I got special permission to have the protection against force pushing to master turned off for a moment, so that I could rewrite the commit history to match the repo we forked from

2

u/johnklotter Oct 31 '26

No, the issue here would be using a bigger model for a small change.

1

u/FredFarms Oct 31 '26

Please maximise the number of stamps in my collection

4

u/Shanga_Ubone Oct 31 '26

Claude to all humans: "Please report immediately to your local processing center for conversion into material for u/FredFarms' stamp collection."

2

u/Shanga_Ubone Oct 31 '26

Claude to all humans: "Please report immediately to your local processing center for conversion into material for u/FredFarms' stamp collection."

1

u/AnAwkwardSemicolon Oct 31 '26

It took me almost a decade to learn this lesson.

1

u/PepperVegetable8395 Nov 01 '26

"hold on let me patch this driver real quick that's unrelated to the main goal, I found something in it that doesn't matter but I must fix it anyway"

1

u/h-heike365 Nov 03 '26

No good enough, only "while I was in there, I also rewrote your build system."

→ More replies (3)

2

u/Ali_Army107 Nov 01 '26

The humble "Rename Symbol" option in vs code

2

u/vintergroena Nov 01 '26

You mean I can use the diff viewer to also edit code? Holy shit that's a game changer!!

  • a vibecoder, probably

295

u/wardrox Oct 31 '26

Look, the IPO needs the numbers to look good. If that means a million tokens per line change, Claude's on it.

170

u/WilkerS1 Oct 31 '26

remembering snippets and language servers exist does wonders

119

u/Wonderful-Habit-139 Oct 31 '26

It's funny because whenever someone mentions not using AI for coding, they think they're going back to typing on Notepad or something.

I'm pretty sure those people have never properly used IDEs and learned shortcuts and tried to improve their productivity before LLMs.

44

u/w1n5t0nM1k3y Oct 31 '26

If you weren't autogenerating code before AI, what were you even doing?

LLM can generate much more complex code, but a lot of what I was doing before AI was pretty automated anyway. CRUD is a huge amount of code for a lot of applications.

22

u/Stummi Oct 31 '26

Wait, so you are telling me I shouldn't have turned this thousands of lines of openAPI spec to code by hand?

17

u/Wonderful-Habit-139 Oct 31 '26

Legit had to replace a module in a vibe coded project that was basically handwritten API calls to a backend that already provided an OpenAPI spec. This is not a joke. And it still took a lot of convincing to switch to auto-generated clients.

3

u/Stummi Oct 31 '26

wait, so who did you have to convince here? Another dev, or the coding agent?

→ More replies (1)

7

u/Disallowed_username Oct 31 '26

You haven’t uninstalled your IDE yet? HR wants to talk with you. 

6

u/Wonderful-Habit-139 Oct 31 '26

"HR" has talked to me initially with their AI agenda and now has left me alone because I'm providing value just fine.

2

u/El_RoviSoft Oct 31 '26

Im writing in C++ with a scuffed setup so LLMs are much more reliable in this case (especially when it comes to template meta programming)

13

u/[deleted] Oct 31 '26 edited Oct 31 '26

[removed] — view removed comment

97

u/Kaiki_devil Oct 31 '26

To be fair, a “good” name would take into account what it is doing in the program and how it’s used… and that requires context… if asked to rename something I would at least look at what it is doing already and how it’s used…

So at the beginning it’s not that far off from what I’d expect someone to do initially.

33

u/_LePancakeMan Oct 31 '26

Yeah, when coaching a junior, the first step i would recommend in this situation would be exactly that: look at the rest of the codebase and how it names things. Try to pick up on common wording, formatting and abbreviations.

7

u/Zzzzzztyyc Oct 31 '26

Plus this yahoo gave it vague, non-specific directions. I rolled my eyes just reading the prompt

2

u/gibagger Oct 31 '26

A decent suggestion can be made with the current function or file as context.

More context should make it better, but the laws of diminishing returns will hit the moment you leave the namespace/package.

I have noticed that Claude Code has been really trigger happy with the agents these days, to the point I often need to stop it to constrain it

1

u/Kaiki_devil Oct 31 '26

You’re not wrong if there had been a better prompt, but assuming the prompt is what was given, I can understand the agent looking for more context though.

Yeah, looking at the exact file to see if it’s something isolated within a function or depends on code elsewhere in the application would probably be a good start, rather than jumping straight into a full code review. But the bad prompt is honestly the bigger fault here. The user could likely have provided the needed context in a sentence or two and been fine.

Local function variable would not need it. If it’s a variable that gets inherited, or used across the program as a whole, then how it’s used is important for a good name.

1

u/hartstyler Oct 31 '26

Just rename it to “idkSomethingMoreGood”

1

u/denM_chickN Oct 31 '26

If only the expert prompter could have provided any suggestions lol

47

u/pimezone Oct 31 '26

Make sure you use the latest Opus with max reasoning and /deep-research for that.

9

u/ThePsyPaul_ Oct 31 '26

then they should have Fable at max review it

3

u/just4nothing Oct 31 '26

That’s the default setting - had to reduce it to opus.

36

u/joshpennington Nov 01 '26

Watching Claude jump around my filesystem at my job is almost hilarious. Like my dude I asked you to update this specific file not root around a completely different unrelated project.

But hey this is the future so who am I to judge

126

u/ISuckAtJavaScript12 Oct 31 '26

You mean the token burning machine is optimized to burn tokens? No way

24

u/m0rpeth Oct 31 '26

It feels absolutely insane that you have to spell it out like that.

1

u/akera099 Oct 31 '26

It has felt overtuned for a few weeks. Definitely did not felt this bad in spring and summer but that's just my vibe I got no proof.

18

u/Weak_Shoulder_6780 Nov 01 '26

adds 50 lines of comments about the renaming of that variable in every place it existed

12

u/mencretdimulut Oct 31 '26

how can a variable name become "more" good?

9

u/Saelora Oct 31 '26

well, before it was called numbers. Now it’s called goodNumbers. It has one more good.

5

u/MissinqLink Oct 31 '26

I got to stop naming variables “cheese” when I can’t think of the perfect name

3

u/Brisngr368 Oct 31 '26

Stop naming shit like its still 80 characters to a punch card?

4

u/Lendari Oct 31 '26

I once named a package ChargebackAgenticReasoningSkills. Then the next guy comes up with a ChargebackAgenticReasoningLiabilityAgentService and ChargebackAgenticReasoningRepresentmentAgentService.

Did I do it right? Because I hate myself everytime I have to type that word vomit.

3

u/Blue_Moon_Lake Oct 31 '26

What's not to like in

InternalFrameInternalFrameTitlePaneInternalFrameTitlePaneMaximizeButtonWindowNotFocusedState

I did not made it up, you can google it.

2

u/m0rpeth Oct 31 '26

Why oh why am I not surprised? :D

2

u/mgabor_ Oct 31 '26

Should have said gooder.

30

u/Mr_Rogan_Tano Oct 31 '26

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 Oct 31 '26

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

2

u/gingimli Oct 31 '26

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

1

u/-Debugging-Duck- Oct 31 '26

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

1

u/Noisycarlos Oct 31 '26

Ask the LSP

1

u/Slight-Violinist-575 Oct 31 '26

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

→ More replies (5)

18

u/ThePsyPaul_ Oct 31 '26

that'll be 80% of your daily usage

11

u/blaghed Oct 31 '26

Result: idk_somethingMoreGood

30

u/ThatDudeFromPoland Oct 31 '26

that's on you for not knowing how to use find and replace

30

u/creeper6530 Oct 31 '26

No, find and replace can misidentify, for example in comments.

Mature IDEs have a "rename symbol" though, usually F3, which actually parses the code and differentiates types from functions from variables per the language rules.

→ More replies (14)

6

u/aaron2005X Oct 31 '26

There is still the problem of finding a better name.

7

u/Wonderful-Habit-139 Oct 31 '26

So AI is thinking for you instead.

→ More replies (4)

3

u/phl23 Oct 31 '26

Ye, but seriously who cares anymore. If you use ai anyway it doesn't matter. Just call it what you think it does with how many words you like with a case style of your choice.

2

u/countable3841 Oct 31 '26

Claude desktop doesn’t have find and replace though

1

u/Noisycarlos Oct 31 '26

Or the LSP

6

u/WildWezThy Oct 31 '26

Hey Fable 5.1 Ultracode can you change the color of this button

5

u/TopFix8731 Nov 01 '26

...AND THEN RENAME 8 DIFFERENT CLASSES THAT HAS NOTHING TO DO WITH THE VARIABLE YOU ASKED ME TO CHANGE.

I'VE ALSO ADDED THIS YELLOW BUTTON IN THE MIDDLE OF THE CHECKOUT SCREEN THAT READS "DICKBUTT" BECAUSE THAT WAS WHAT MY MODEL SHOWED AS THE HIGHER PROBABILITY OF BEING WHAT YOU WANTED.

5

u/Ange1ofD4rkness Nov 02 '26

Claude, makes my ADHD ramblings look like nothing

4

u/Giocri Oct 31 '26

I am increasingly convinced that what i actually want is a good compact language to interface with the language lexer. Something that allows me to quickly say "convert all .set_1_and_2({arg1},{arg2}) to .set_1({arg1}).set_2({arg2})"

3

u/DHermit Oct 31 '26

You do now that Regex exists? At least your specific example would be not too bad for it

1

u/Giocri Oct 31 '26

Regex is ok but it's still very limited in my opinion for example it would not be able to hand a scenario like the one above if one of the args is an expression containing parentesis

1

u/ACoderGirl Oct 31 '26

Naw, regex is not well suited for that example. You're presumably thinking that the example must mean it's always cases like set_1_and_2(a, b), but it could also be stuff like set_1_and_2(foo(), bar(a, b)).

1

u/Maneren731 Nov 01 '26

Have you tried ast-grep? It is designed exactly for this kind of operations. It can do intelligence search (and replace) on AST rather than raw text for a lot of different languages.

1

u/Giocri Nov 01 '26

Sounds great i will look into it

3

u/RocketArtillery666 Oct 31 '26

How about you do it yourself lmao.

3

u/wrex1816 Oct 31 '26

I know this is a joke, but if this is actually happening you at work then you need to learn how to use the tools better.

Guys will come online acting like they are the world's greatest engineers then talk about AI like they use it by poking it timidly with a stick out of fear.

1

u/Namtaru420 29d ago

Srsly. You don't even need to be a prompt engineer, just ask the model to refine your prompt. It will spit out an in-depth version with all kinds of guardrails that prevent exactly what OP is describing.

You can even take it a step further and say something like, use placeholders and note unresolved questions. Now you have an extremely detailed prompt that explicitly calls out any critical details you forgot to mention.

5

u/Ragingman2 Oct 31 '26

Set effort to low

6

u/DarthRaab Oct 31 '26

Don't worry, that's the only setting i've got. 😌 Wait, you mean the LLM agent settings? Sure, boss. 🫡

5

u/Kokuswolf Oct 31 '26

But you know the variable name will be outstanding. A variable name like you never seen before AND afterwards. God will appear to you and ...

5

u/AaronTheElite007 Oct 31 '26

If you use AI to do your job for you.... I cannot fathom how you tie your shoes.

2

u/russianrug Oct 31 '26

You have to be strict with it: “pls rename this variable to something more good, bitch”

2

u/A_Guy_in_Orange Oct 31 '26

So to the people who use AI, can you literally not touch the code it makes? Why can't you just go in and at worst CTRL F the variable name or more likely use ur IDEs built in renamer?

2

u/Ceros007 Oct 31 '26

358.2 AI credits were used

2

u/geekosas Oct 31 '26

Didn't place or equivalent already do this? In vs code just press f2

2

u/OTee_D Oct 31 '26

Any IDE since decades:  "right click / refactor/ rename"... done, no tokens, no pricetag.

2

u/ReindeerCreepy2883 Oct 31 '26

remember when this meme used to be "customer: asks for a different color and font on the already built web page"

2

u/[deleted] Nov 01 '26

Search and replace? Just highlight the variable and press F2. 

2

u/outofband Nov 01 '26

That’s your fault for using the wrong model for something that you could done by yourself.

2

u/SaCorv Nov 01 '26

Ton of skills.md, agent/lessons and big comprehensive agent.md helped me make my token burner machine to go less BRRRRRR on tokens

4

u/KawaiiMaxine Nov 01 '26

Ive specifically avoided using ai in a programming context cause i like to treat programming as an artistic outlet. YALL MOTHER FUCKERS ARE HAVING GLADOS RENAME A FUCKING VARIABLE????????????

3

u/Yekyaa Nov 01 '26

Feels like driving an expensive car to Walmart to shop for groceries energy.

2

u/KawaiiMaxine Nov 01 '26 • Heartwarming

An expensive vintage car, where doing it normally would be a million times quicker

2

u/Flat-Performance-478 Nov 02 '26 • Bravo

"I'm gonna head over to Walmart real quick, I'll be back in 5!"
"Wait! Hey... I'll come along. We can take the Rolls Royce! Yeah?"
"Right.. okay.. I mean it'll be quicker for me to just sprint over there instead of getting in-"
"Hey, dude, look at this. Uuh.. wait a minute.. keep looking.. When I press this, the sun-roof rolls back! Now I forgot which button it is.."
"Neat! Okay, I'll get in then."
"It'll take about 5 minutes for the engine to warm up. I'm trying to go easy on the gaskets lol"
"Right..."
"Oh and when we get to the parking lot, could I have you get out and check if I'm getting too close to the other parked vehicles. I got a scratch last time."

3

u/Wicks_Discounts Nov 03 '26

its like its incentivized to waste your time and money

1

u/thunderbird89 Oct 31 '26

Maybe reserve Ultracode for the really big tasks?

1

u/sitilge Oct 31 '26

seek and destroy!

1

u/widowhanzo Oct 31 '26

Don't forget to include a 5 line comment explaining the reasoning behind name change, the old name, the ticket number, what was motivation for renaming, steps to deploy the new name, and a todo to check after deployment that everything went through cleanly.

1

u/aberroco Oct 31 '26

Seriosly. It would run full test suite before and after fixing a typo in a comment...

1

u/Greeninn Oct 31 '26

And out comes 'test_1'

1

u/Patrick_Atsushi Oct 31 '26

Naming is important.

1

u/Several_Ant_9867 Oct 31 '26

Really, I just asked if a setting in a library could be changed by configuration and it started downloading the source code of the library and trying to find a way to patch it on npm post-install... what kind of mad hatter does that?

1

u/Enough-Scientist1904 Oct 31 '26

Seems like a skill issue

1

u/lazydavez Oct 31 '26

Yesterday I asked info about some k8s issue. Ten minutes later it came back with a complete setup, argocd helm everything… wtf

1

u/GobiPLX Oct 31 '26

Woah, you even changed this meme format into AI slop image

1

u/TedGetsSnickelfritz Oct 31 '26

Shit in, shit out.

1

u/thanatica Oct 31 '26

If only this were the thing we used AI for... It'd be not so bad.

1

u/Lysol3435 Oct 31 '26

I see the issue. I’ll replace all instances of ‘var’ with ‘i’

1

u/Lngdnzi Oct 31 '26

Claude code is one of the worst harnesses guys , try something else vibe bros

1

u/MithrilTuxedo Oct 31 '26

"Orchestrator"

1

u/Consistent_Reward Oct 31 '26

After half a million tokens of analysis, we agree that your variable shall be named fortyTwo.

1

u/snarkhunter Oct 31 '26

Crazy that the best course of action always seems to be spending as much Claude tokens as possible

1

u/Silly_Guidance_8871 Oct 31 '26

Gotta drive those billable token limits

1

u/slaymaker1907 Oct 31 '26

This is exactly why Haiku exists. It generally just stays in its lane and doesn't go beyond.

1

u/kjube Oct 31 '26

Token maxing deep thought reasoning agent burning tokens as intended.

1

u/ryaaan89 Oct 31 '26

Okay but it’s kind of your fault for asking an agent to do this instead of doing it yourself?

1

u/Outrageous_Band9708 Oct 31 '26

better than gpt

gpt will rename this one variable to fucking_good_var, and say lol. and not check other usecases, now the code doesnt compile

1

u/DouDouandFriends Nov 01 '26

fn f12 my beloved

1

u/Positive-Engineer482 Nov 01 '26

Due security reasons my safety system blocked me. Sorry. You can’t do anything.

(Even switched to opus 4.8) 💩

1

u/AtmosphereVirtual254 Nov 01 '26

Are there opaque planing-time reasons behind it?

1

u/ThatNickGuyyy Nov 01 '26

Most LSP’s facilitate this pretty easily

1

u/Flat-Performance-478 Nov 02 '26

This gives off big "I Have The Best Words" energy.

1

u/garth54 Nov 02 '26

... so I've renamed "iteration" to "i".

1

u/FanHe97 Nov 02 '26

:%s/myVar/idkSomethingMoreGood/gc

Alternatively:

:%s/my_var/idk_something_more_good/gc

1

u/Smrgling Nov 03 '26

... How do you expect it to know what is a better name without knowing what it's doing in the code? And do you want it making changes without testing that it didn't break anything? This is exactly what it should be doing to respond to that prompt (minus the subagents part which I assume is an exaggeration).

1

u/JSanko Nov 03 '26

Use haiku med or low for this shit

1

u/SpamminEagle Nov 04 '26

Gotta start working down that 80bn or something of a loss.

1

u/The_Ledge5648 28d ago

Lemme guess you asked it to do that with fable instead of sonnet

1

u/Sad-Muffin4062 4d ago

right click -> refactor -> rename -> enter

1

u/litetaker Oct 31 '26

FFS this never happens to me because I know how to use the tool properly. For trivial things you either do it yourself, or if it will become a bit more of a refactor with renaming several things, you give it a better prompt with more clarity and context, maybe a suggestion that you already have for good names and the damn thing quickly makes changes. This is a dumb meme. LLM coding agents are just another tool and you need to know how to use it and when to use it, otherwise you are the tool.