Comment

Comment by bunderbunder

Protocol buffers used to have required fields. I worked at a company that kept using an old version specifically to keep having them.

I’ve also talked to Googlers about this. My understanding is that having required fields created a robustness problem for them.

My guess is that it’s the same situation as for basically everything else: the problems Google is trying to solve for, and the constraints on the solutions to those problems, are just different from what the rest of us are dealing with. That doesn’t make protocol buffers bad, but it maybe does make the level of mindshare Google gets in this corner of the technology world bad.

That said, 100% agreed. Proto2 solves for that one use case (required fields), but not others such as "I want to talk to this API from the browser." I would love to have a solution that prioritized being easy to implement and support over being as heavily engineered - and, consequently, difficult to understand and use effectively - as FAANG-scale technologies tend to be.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton