logoalt Hacker News

senko • last Sunday at 8:38 AM • 1 reply • view on HN

As a happy Claude Code user (thank you!), I’m genuinely curious why it prefers Bash or Python scripts to the Edit tool for editing a file? as a software engineer, surely the complexity involved is lower for the Edit tool?

Would love to hear the rationale/explanation behind this.


Replies

cannonpalms • last Sunday at 12:53 PM

RL magic, I'm sure. It still reaches for the Edit tool for simple edits, but a non-trivial fraction of edits need to be repeated across a file or several files.