12 ms·
Why would you use a constrained edit tool when you are also allowed to use the complete power of python?
by jaapz 6d ago
Why would you use a constrained edit tool when you are also allowed to use the complete power of python?
- oblio 6d agoWhy 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?
- arcanemachiner 6d agoYou can chain a lot more commands together with this technique than with a single Edit tool call.
- oblio 6d agoThe funny thing is that... POSIX ed is composable :-) You can do a gazillion edits with it in one shot. Of course, LLM edit tools are probably small bits of their custom code, I just find it funny. I wonder if it's a desire for certain technical characteristics that require custom code or just a lack of info on basic tools. Heck, if it's about platform availability, using an LLM to port ed to Windows (for example) should be trivial[1]. * * * [1] And there are probably a million existing ports. Also, sed, ex, vi, whatever.
- zarzavat 6d agoBecause the complete power of Python also includes the power to fuck things up.
- rootlocus 6d agoSimple is better than complex Complex is better than complicated Or something, I don't remember...
- Burebista 6d ago... simply the best, better than all the rest (Tina Turner)
- oblio 6d agoUșor, Burebista :-)
- thewhitetulip 6d agoThat was pre LLM. Now everything is a prompt that you type into AI lol
- oefrha 6d agoHave 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.
- dools 6d agoHaving 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.