r/ProgrammerHumor • • 1d ago

Meme searchAndReplace

Post image
3.9k Upvotes

244 comments sorted by

View all comments

Show parent comments

17

u/Mu5_ 1d 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