logoalt Hacker News

jaapztoday at 6:52 AM5 repliesview on HN

Why would you use a constrained edit tool when you are also allowed to use the complete power of python?


Replies

zarzavattoday at 6:57 AM

Because the complete power of Python also includes the power to fuck things up.

show 1 reply
doolstoday at 7:45 AM

Having an agent edit 100 files means the job will definitely get done correctly. When it writes a script to bulk edit things it fucks up and spends ages debugging their script.

oefrhatoday at 7:44 AM

Have you ever counted the number of times Claude fucked up quoting/escaping and had to issue a corrected tool call? Or get stuck in some tricky quoting situation for two minutes, throwing a couple piles of shit at the wall to see what sticks. IIRC I’ve even seen it eventually using the edit tool out of frustration once.

rootlocustoday at 7:03 AM

Simple is better than complex Complex is better than complicated

Or something, I don't remember...

show 2 replies
obliotoday at 6:55 AM

Why even offer the edit tool in that case? Also, what kind of editing could they possible do what wouldn't be possible with POSIX ed?

show 1 reply