Hacker News new | ask | show | jobs
by yko 625 days ago
Writing documentation, amongst other things, has been a save for me.

I use it to understand new codebases quickly, create the documentation boilerplate for the code I'm working on that needs better docs, or update/rewrite outdated ones.

When the codebase fits in the context window, it's simple. But even if I'm working on a larger thing, it takes a bit of RAG-alike effort to build knowledge topology, and then it's super easy to get docs on (the actual!) architecture, specific components, and all the way down to atomic function level.

1 comments

God, I hope you carefully check those docs before publishing them