api-guidelines
api-guidelines copied to clipboard
Best practices to consider when writing an API for your library
Results
12
api-guidelines issues
Sort by
recently updated
recently updated
newest added
It would be nice to recommend using typed units of measurement whenever possible. E.g. in our official libraries we gave up on API in the form of `foo(timeMillis: Long)` and...
It would be nice to recommend avoiding using "global" state in the libraries, that later is almost impossible to test and/or mock. We tend to favor explicitly spelled-out APIs for...