Settings

Theme

Ask HN: Do you still read docs for Python/NPM libraries or use AI on codebase?

1 points by vadepaysa 10 months ago · 3 comments · 1 min read

Reader

I find myself using QA on the codebase (not a generic LLM) more often. As a maintainer of internal and external facing python libs, I am wondering how much time I should spend maintaining working examples and docs.

khedoros1 10 months ago

I use LLMs as a last resort, when I can't find something in the official documentation first, unofficial documentation second, and the code itself third. And I assume that at least part of what a language model encodes about a library would've been derived from the documentation, and scanned code directly derived from that documentation, anyhow.

thephyber 10 months ago

I usually start by looking at the docs for a non-trivial example or a Getting Started doc.

If those are insufficient, then I try to query an LLM, but that doesn’t always work depending on how recent the library is or how much the API of the library changes over time.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection