3 ms·
My take-away is this: Protocols should always be defined independently of any existing code. The code-first approach only works well when you're doing somethin
by mumblemumble 6y ago
My take-away is this: Protocols should always be defined independently of any existing code.
The code-first approach only works well when you're doing something self-contained. Which, an API, almost by definition, is not.
- pwinnski 6y agoI generally try to design APIs from a consumer perspective, and then usually I end up with something RESTful. Let the server do whatever it has to do, you know?