@jafo How many prints are we talking about? 100? 1000? 10000?
@dabeaz Probably on the order of 100 across 6 files and 3 directories. Again, not proposing this is the ultimate use of an LLM, just what I was doing exactly at the moment I wrote that message.
Most of what I've been using it for the last few days has been "Can you understand this traceback, and figure out how to fix this fastapi-users code?" while I go off and work on another project.
@jafo How does it work? Are all of the changes made in one fell swoop? Do you review each change? Did you have to make any edits afterwards? Just curious.
I know for find/replace on something like this, I'd probably go one change at a time--having it prompt me and then I'd approve/disapprove/edit as I went along.
@dabeaz There are lots of ways to use it including editor integration, but the way I'm using it is through "Claude Code", which is a TUI. It gives me a prompt box and I type my prompt, then it shows some proposed changes (as a colorized diff) or actions (like "can I run `grep -R print .`?") with available responses: "Yes", "Yes to this and all other similar questions", and "No, and tell me to do something different."
@dabeaz For your use case of "one change at a time", the editor integration I've used in Cursor and Zed is more like that, Claude Code tends to show a chunk of changes at once, it seems like it kind of logically groups them somehow. Cursor, IIRC, gives you an "Accept/Decline" button on each change, and I think you can also accept all. I haven't used it in a while.