Earlier quoted context omitted.
Personally - what you're asking for is type definitions. And it's a blurry line, since type definitions are a good form of documentation. It's just that type-system tooling has mostly replaced the need to go read through the docs for that. I expect to get it easily and obviously in whatever editor or IDE I've configured. I think the prevalence of example based documentation is because of this trend - don't waste time…
> what you're asking for is type definitions It's the API specification. It's not just the functions and their parameters, it's also an explanation of what they do. > I'm much less interested in the specific arguments, and I'm very interested in "Capabilities" And that's exactly what an API specification provides you, and that examples do not. Examples only tell you how to use the API on the same way that the author…
it's much harder to imagine everything a tool can do with only the specs, and I'm not clear what things I'm missing. Examples make it concrete