TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: What's the best SDK documentation you’ve ever read?

43 点作者 sethx超过 2 年前
Finding a good sdk is hard. Finding a well documented one is harder. Would love to see what you consider as the golden standard for documenting sdks!

34 条评论

srik超过 2 年前
Tailwind. Since tailwind classes expand to css, they could&#x27;ve called it a day by just showing those expansions, but they went further and each class has it&#x27;s own section and every variant comes with an explanation, often accompanied with illustrations even. Their designer roots show too, because the illustrations are tight. Honestly, one could potentially skip having to refer to css docs and make do with just tailwind&#x27;s.<p><a href="https:&#x2F;&#x2F;tailwindcss.com&#x2F;docs&#x2F;installation" rel="nofollow">https:&#x2F;&#x2F;tailwindcss.com&#x2F;docs&#x2F;installation</a>
gsliepen超过 2 年前
For C and C++: cppreference.com. Why?<p>- Very good overview pages.<p>- Everything is cross-referenced.<p>- Almost everything comes with an example of how to use it.<p>- It&#x27;s a wiki, so you can edit it yourself if you find anything lacking.
评论 #32794699 未加载
aeturnum超过 2 年前
I&#x27;m extremely fond of the official Elixir documentation - it&#x27;s easy to read, has a standard structure, and most importantly (to me) you can click the &quot;code symbol&quot; (&lt;&#x2F;&gt;) to go to the actual implementation of the function documented.<p><a href="https:&#x2F;&#x2F;hexdocs.pm&#x2F;elixir&#x2F;Enum.html#flat_map&#x2F;2" rel="nofollow">https:&#x2F;&#x2F;hexdocs.pm&#x2F;elixir&#x2F;Enum.html#flat_map&#x2F;2</a>
fsflyer超过 2 年前
The original Inside Macintosh: <a href="https:&#x2F;&#x2F;www.pagetable.com&#x2F;?p=50" rel="nofollow">https:&#x2F;&#x2F;www.pagetable.com&#x2F;?p=50</a><p>and the Human Interface Guidelines: <a href="https:&#x2F;&#x2F;archive.org&#x2F;details&#x2F;applehumaninterf00appl" rel="nofollow">https:&#x2F;&#x2F;archive.org&#x2F;details&#x2F;applehumaninterf00appl</a><p>Lots of overview material explaining how it all fits together, as it was a big change from the past.
评论 #32795255 未加载
ChrisMarshallNY超过 2 年前
I suspect that the PHP documentation has been the most effective.<p>I know everyone likes hating on PHP, but the docs actually work very well.<p>Part of it is because the language is basically a big standard library of functions, and those are easy to document, but the integration of user comments into each page has also been extremely useful to me.<p>Inside Macintosh (Apple&#x27;s original system docs) was very good. Apple&#x27;s documentation has steadily degraded, since. The documentation for SwiftUI is basically worthless.
评论 #32795202 未加载
omnicognate超过 2 年前
I don&#x27;t have a view on SDK documentation but the best API documentation I&#x27;ve read is the Win32 docs.<p>Why? They are comprehensive, detailed, consistent, systematically presented, clearly explained and professionally written. Microsoft documentation has sadly gone steeply downhill since.
评论 #32794703 未加载
评论 #32795159 未加载
donio超过 2 年前
Nobody would call it an &quot;SDK&quot; but I find the Emacs&#x2F;Elisp documentation to be excellent both on the docstring level and the manuals. It has been refined over several decades, it is thorough, well written and very easy to use from the comfort of Emacs itself.
highwind超过 2 年前
I know there are lot of hate for Java but I find Java Doc very complete and helpful.
评论 #32794655 未加载
评论 #32795219 未加载
zetalyrae超过 2 年前
This will be an unusual answer: the Inform documentation. It is some of the best, most compelling technical prose I&#x27;ve ever read. The stability of it is very calming when everything else in programming is in a perpetual state of simultaneous development and deprecation.<p>The two books are &quot;Writing with Inform&quot; and &quot;The Inform Recipe Book&quot;:<p><a href="https:&#x2F;&#x2F;ganelson.github.io&#x2F;inform-website&#x2F;book&#x2F;WI_1_1.html" rel="nofollow">https:&#x2F;&#x2F;ganelson.github.io&#x2F;inform-website&#x2F;book&#x2F;WI_1_1.html</a><p><a href="https:&#x2F;&#x2F;ganelson.github.io&#x2F;inform-website&#x2F;book&#x2F;RB_1_1.html" rel="nofollow">https:&#x2F;&#x2F;ganelson.github.io&#x2F;inform-website&#x2F;book&#x2F;RB_1_1.html</a><p>Inform is a weird beast: it is a domain-specific language for writing interactive fiction stories, with natural English language syntax. But underneath there&#x27;s an object model and datatypes and you can use it as a general-purpose language: <a href="https:&#x2F;&#x2F;learnxinyminutes.com&#x2F;docs&#x2F;inform7&#x2F;" rel="nofollow">https:&#x2F;&#x2F;learnxinyminutes.com&#x2F;docs&#x2F;inform7&#x2F;</a><p>Additionally, there&#x27;s &quot;The Inform Designer&#x27;s Manual&quot;, which is for an earlier version using a more standard programming language syntax:<p><a href="https:&#x2F;&#x2F;www.inform-fiction.org&#x2F;manual&#x2F;html&#x2F;index.html" rel="nofollow">https:&#x2F;&#x2F;www.inform-fiction.org&#x2F;manual&#x2F;html&#x2F;index.html</a>
protomikron超过 2 年前
Django, because there are no missing parts. Everything is documented and comes with examples, that work and most importantly it anticipates additional steps and often guides you in the right direction (if you want to dive deeper) or clearly states what&#x27;s out of Django&#x27;s scope.
ihaveajob超过 2 年前
Stripe&#x27;s documentation was terrific when we were doing our initial integration. Clear descriptions, frequent use cases were described and indexed so they&#x27;re easy to find, and the code samples (in 6-8 languages) are copy-paste ready using your own pre-populated credentials.
GnarfGnarf超过 2 年前
I find the Qt documentation to be excellent. If only Microsoft rose to the same level of helpfulness.
评论 #32795290 未加载
lee101超过 2 年前
I like <a href="https:&#x2F;&#x2F;text-generator.io" rel="nofollow">https:&#x2F;&#x2F;text-generator.io</a> because the main SDK is either using the playground then clicking the &quot;get code&quot; button, or there is a one line change for people migrating in from OpenAI text generation.<p>Lots of good docs have you visually doing the setup&#x2F;work, then you realise you can download&#x2F;see a bunch of code for all the actions you did (e.g. everything UI doable is programmable and the tools taught you all the concepts), it minimises the actual programming, it is really hard&#x2F;time consuming to mentaly translate API docs to code.
aljgz超过 2 年前
Strictly speaking, it&#x27;s not an SDK, but postgresql&#x27;s official documentation is the best I have seen. Very easy to find what you&#x27;re looking for, very approachable for beginners, yet versatile for the one who needs to dig deeper.
thenerdhead超过 2 年前
Stripe always stood out in terms of SDK documentation. Never had an issue from start to finish.<p>I always appreciated Maven documentation too. Always verbose and you&#x27;ll find more than enough information rather than none.
jasone超过 2 年前
The FreeBSD manual pages. They are thorough, accurate, and well maintained. I still refer to them on occasion even though I&#x27;ve not actively developed on FreeBSD for the better part of a decade now.
richardcrossley超过 2 年前
The Windows 3.1 SDK. I bought and read it at University, some decades ago, and I can still write simple C programs for Windows that compile under Windows 2000 and run under Windows 10.
rtdgggvvgg超过 2 年前
Not related to sdk but i Remember the hlp of visual basic like One of the best docs ever edit: because of the code snippets
jemmyw超过 2 年前
Any SDK docs that links to, or preferably displays inline, the source code. I use the ruby docs often and they do this, displaying the ruby or C code for the method documented. Really useful, as I wouldn&#x27;t be motivated to hunt for the source, but if it&#x27;s right there then I&#x27;ll read it.
bitwize超过 2 年前
The man pages to NetBSD. I don&#x27;t think I&#x27;ve seen such comprehensive documentation in all my born days. Every command, API, data structure, and concept in the base system is thoroughly documented. I managed to write a toy device driver and incorporate it into the kernel, using nothing but the man pages.
salzig超过 2 年前
One thing I miss today, is the simplicity and ease of use of the mIRC help file. There was everything in one place, and offline. I find my self often missing something comparable. (I know of desktop tools for docs, but they didn’t quite fit for me)
Max-q超过 2 年前
When I was 10, I got my first computer. A Commodore VIC 20. The book that came with the machine taught me programming. It was very well written and already at 11 I could program quite well. I wish we could take more inspiration from that period when writing modern documentation.
评论 #32795126 未加载
bmitc超过 2 年前
GLFW: <a href="https:&#x2F;&#x2F;www.glfw.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.glfw.org&#x2F;</a><p>It&#x27;s basically the only one I can think of in recent memory that basically spells out everything you need to know in the documentation.
dmitrygr超过 2 年前
This one: <a href="https:&#x2F;&#x2F;stuff.mit.edu&#x2F;afs&#x2F;sipb&#x2F;user&#x2F;yonah&#x2F;docs&#x2F;Palm%20OS%20Reference.pdf" rel="nofollow">https:&#x2F;&#x2F;stuff.mit.edu&#x2F;afs&#x2F;sipb&#x2F;user&#x2F;yonah&#x2F;docs&#x2F;Palm%20OS%20R...</a>
alphabettsy超过 2 年前
I’d say Stripe. Very detailed and with helpful examples. Never needed to spend much time figuring out how to do something and I didn’t need to look for random examples on the web.
danellis超过 2 年前
RISC OS Programmer&#x27;s Reference Manual. It&#x27;s very well laid out, clearly written and consistent. In fact, I even bought myself a copy all these years later to peruse for nostalgia.
tangerine11超过 2 年前
The maven documentation is worth mentioning here. It it&#x27;s useful for my area of Android dev and has also made me laugh with it&#x27;s bluntness.
redwoolf超过 2 年前
The Android SDK is well documented with examples throughout and hyperlinked to examples and posts which explain some content in greater depth.
评论 #32794691 未加载
评论 #32794952 未加载
taeric超过 2 年前
The TeX-Book. Really fun read that presents the system with exercises that are approachable.
jtreminio超过 2 年前
Use openapi and many of the documentation generators will create great reference pages.
kaladin-jasnah超过 2 年前
GStreamer is incredibly well documented from when I tried it.
zanethomas超过 2 年前
I think the documentation for Vue is pretty good.
manv1超过 2 年前
Inside Macintosh, volumes 1-6.
hprotagonist超过 2 年前
does this count?<p><pre><code> M-: (info “(elisp)”) RET</code></pre>
评论 #32795142 未加载