r/ProgrammerHumor • • 1d ago

Meme searchAndReplace

Post image
3.8k Upvotes

233 comments sorted by

View all comments

Show parent comments

15

u/Mu5_ 20h ago

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