News for hackers. Stuff that matters.
Re:gRPC: The Bad Parts by throwaway894345 on Friday June 28, 2024 @10:30AM (#40820945)
> People use it - like I do - because they like the improved type safety compared to REST.

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).

Re:gRPC: The Bad Parts by DandyDev on Friday June 28, 2024 @08:17PM (#40826776)
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.