Code Wiki: Accelerating your code understanding

developers.googleblog.com

55 points by geoffbp 7 days ago


dexwiz - an hour ago

I burned a ton of tokens this summer trying to document our legacy codebase in hopes of quantifying parts ahead of a refactor. My conclusion was that LLMs are bad at this. It waffled between unhelpfully verbose to omitting key aspects. I had to manually review each page. It really struggled with cross file references and inheritance. I tried several approaches, top down, bottom up, text first, diagram first. Maybe I'm not the prompt wizard I need to be. But I would never trust AI summary of any code longer than 500 lines.

somebodythere - 31 minutes ago

I've seen a few of this type of thing pop up in search results ("DeepWiki" by Cognition.) I'm not a fan. It is just LLM contentslop, basically. Actual wikis written by humans are made of actual insight from developers and consumers. "We intend you use it in X way", "If you encounter Y issue, do Z." etc. Look at arch wiki. Peak wiki-style documentation, LLMs could never recreate. Well, maybe with a future iteration of the technology they can be useful. But for now, you do not gain much by essentially restating code, API interfaces, and tests in prose. They take up space from legitimate documentation and developer instruction in search results.

ChrisArchitect - 7 days ago

Related:

Code wikis are documentation theater as a service

https://news.ycombinator.com/item?id=45937527

grim_io - 2 hours ago

Realistically, the alternative to code wiki is not good documentation, it's no documentation.

cafed00d - 4 hours ago

Nice! I've been using deepwiki and loving it! Obviously goggle's gemini powered alternative would be much better and trustworthy.

I just hope Google doesn't kill this one as quickly as they did Stadia etc.

mkagenius - 3 hours ago

Surprising that they haven't made a podcast (NotebookLM-esque) based on the repo - that one can listen to on a bus ride. Something I had created a while back https://gitpodcast.com

ChrisArchitect - 7 days ago

Previously: https://news.ycombinator.com/item?id=45926350

gunsch - 3 hours ago

I hoped this might be like an externalization of g3doc. Nope.

Instead, I started reading through one of their highlighted examples --- the Go repo (https://codewiki.google/github.com/golang/go). This might be the worst high level overview of Go and its repo I've read. Mostly accurate but unhelpfully verbose, spending lots of words on trivia, and not at all making a compelling pitch for Go as a language or toolchain, how to use it, or how to work on it.

cess11 - 4 hours ago

How does it know about the tradeoffs and discussions imbued in the code, unless someone has already put it in writing?