Open noahlevenson opened 1 year ago
Why "must" we use Protocol Buffers?
Oh, it's not the 11th commandment. During design phase, folks said we should use protocol buffers. I didn't use protocol buffers during prototyping because it was faster to do JSON. My intention with this ticket was just to honor the group consensus. But if you don't think we must use Protocol Buffers, it's not consensus!
I think protocol buffers has some advantages for sure. I guess given that you're not happy with the state of the JSON processing, we might as well get in there and do protocol buffers.
For the sake of rapid prototyping, clients and Freddie currently speak to each other using JSON as an interchange format. We must use Protocol Buffers instead.
This is pretty important. Since we always planned to swap in Protobufs, you'll notice plenty of JSON serialization/deserialization code that is particularly grotesque and placeholder-y.