bryanlarsen 2 days ago

One of the best tools for that task is rubber duck debugging. AI's are better than rubber ducks. Often not very much better, but sometimes an inane comment they make in reply triggers a eureka.

1
ghuntley 2 days ago

Exactly. One of my favorite things to do is to dump a code path into the context window and ask it to generate a mermaid sequence diagram or a class diagram explaining how everything is connected together.

ethanwillis 2 days ago

But you don't need an LLM to generate that kind of diagram do you?