YAML in any form is error prone and hard to write. Protobuf - for all its warts - is much easier to write And much more type safe.
But let’s just agree to disagree here. You do you and build REST APIs, while I’ll stick to gRPC
Re:gRPC: The Bad Parts
by throwaway894345 on Friday June 28, 2024 @08:39PM
(#40826896)
I’m not anti-protobuf; it’s just overkill for type safety. But yeah, use what you want.
You don't need a binary format just to get type safety. JSONSchema, OpenAPI, etc exist after all.
> But in this case the DSL is OpenAPI, which is an error prone mess of YAML or JSON specifications.
They might not be pretty, but they're not particularly error prone (the specs themselves are statically checked).