4 ms·
Personally, I'm very disappointed that we've lost immutability, along with support for nullable fields (e.g. Protobuf3 now assumes that 0 == null).
by justinsb 12y ago
Personally, I'm very disappointed that we've lost immutability, along with support for nullable fields (e.g. Protobuf3 now assumes that 0 == null).
- ejona86 12y agoImmutability is still there. You get to choose whether you want it or not. For when you actually want a nullable field, I think the idea is that it is easy to have a wrapper message (just like boxing in languages). Such wrappers could even be made standard and provided by protobuf.
- haberman 12y ago> Such wrappers could even be made standard and provided by protobuf. They will be: https://github.com/google/protobuf/issues/159#issuecomment-76240356 https://github.com/google/protobuf/issues/159#issuecomment-7...