Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Protobuf clients need to be written defensively, just like JSON API clients.

Oof. I'd rather just version the endpoints and have required fields. Defensive is error-prone, and verbose, harder to reason about, and still not guaranteed. It really feels like an anti-pattern.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: