Docs: Clarify statement about the API#66
Conversation
|
I thought it was implied that whatever that is part of the API cannot change in a breaking way without it being a non-breaking change. I am not sure I understand the distinction between "stable API" and "API", can you please clarify? |
Codecov Report
@@ Coverage Diff @@
## master #66 +/- ##
=======================================
Coverage 96.96% 96.96%
=======================================
Files 5 5
Lines 66 66
=======================================
Hits 64 64
Misses 2 2
Continue to review full report at Codecov.
|
|
I've changed "stable public API" to "public API". I usually think of a package's API as being divided into two parts:
Generally, I assume that names that are Also, as a general rule of thumb, I assume that field names of a struct are part of the private/internal API. But in this case, it looks like the I guess to me, "API" means it could either be the public API or the private/internal API. |
|
Thanks for clarifying this. I agree with everything you wrote above, except that for me an unqualified "API" means "public API". |
If I understand correctly, if I have an object of type
TransformedLogDensity, then the official way of getting thetransformationorlog_density_functionfields is by doingℓ.transformationorℓ.log_density_function, respectively.This pull request edits the docstring for
TransformedLogDensityto emphasize that this is part of the stable public API and will not change in a non-breaking release.