3 ms·
Ask HN: Designing a Modern API
I'm starting new work in a few weeks where my job will be to design an API and functionality for "cobots" (https://en.wikipedia.org/wiki/Cobot). C++ mostly.
I've designed API's in the past, but it's been a while. I want to design an API that is uniform throughout, clean, and really lets the developers using it to understand exactly what the API does and doesn't do.
Examples, references, reading appreciated.
- au750 7y agoIf you haven't seen it already, this would be a good start: "How To Design A Good API and Why it Matters" by Joshua Bloch Video: https://dev.tube/video/aAb7hSCtvGw https://dev.tube/video/aAb7hSCtvGw PDF: https://static.googleusercontent.com/media/research.google.com/en//pubs/archive/32713.pdf https://static.googleusercontent.com/media/research.google.c... It is presented with Java as example but the principles are general.