An unofficial, read-only Hacker News reader.

The importance of understanding what the fuck is going on (opens external site)

466 points by notfried 15 hours ago | blog.jsbarretto.com | 327 comments on HN

View full thread · View on Hacker News

Comment thread (1)

  1. I imagine an LLM-assisted tool/skill which explores a given codebase (or part of it), then writes a single MD file which gives a detailed summary of the whole system. It would start from first principles, outlining the necessary background knowledge (with references), then present the design goals, then go into the details, layer by layer, with references to all the parts of the codebase where the actual implementation lives.

    If the reader clicks on those links, they get a special view of the linked code file with LLM-generated commentary on the right, which links back to the relevant section of the system documentation.

    If I had such a tool, I would probably tell a junior to have it analyze the codebase and then read the resulting system documentation. Go down to the details where needed, with the goal of getting a fairly complete understanding of the system. If they have questions, even better.