logoalt Hacker News

cherryteastain11/20/20241 replyview on HN

C++ generated code from protobuf/grpc is pretty awful in my experience.


Replies

bluGill11/20/2024

Do you need to look at that generated code though? I haven't used gRPC yet (some poor historical decisions mean I can't use it in my production code so I'm not in a hurry - architecture is rethinking those decisions in hopes that we can start using it so ask me in 5 years what I think). My experience with other generated code is that it is not readable but you never read it so who cares - instead you just trust the interface which is easy enough (or is terrible and not fixable)

show 1 reply