Re:Revisiting Apple Notes (6): The Protobuf
by halflings on Tuesday September 22, 2020 @06:04AM
(#24552760)
The biggest issue in proto3 is the missing "has_<field>" functions (e.g no distinction between a field's default value, and a special <missing> state).
There are suggested workarounds for this, but I'd just stick with proto2 for the time being as proto3 is still WIP.
It's remarkable that nothing better has replaced them, since they're a little old and crufty, but I guess most of the web startup community was happy enough with JSON. Plus, it's still hard to tell if proto2 or proto3 is the right version to build on long term.