Re:Typed nils in Go 2
by cousin_it on Friday August 11, 2017 @03:24AM
(#14987362)
Agree completely. Google removed "required" fields from proto3 because they cause problems for compatibility and version skew. And even in proto2, which had "required" fields, people quickly learned to avoid them. Anything that goes on the disk or wire should have only "optional" and "repeated" fields (as a bonus, "optional" is encoded the same as "repeated" with zero or one values).
[ Parent
| on HN ]
There are no comments on this comment yet.