Re:Arguing against using protobuffers
by lmm on Thursday October 11, 2018 @07:56AM
(#18192726)
> it turns out that "this field should exist" doesn't save that much because you still have to write "... and have a sensible value" in your own code.
Disagree. Dozens of "x should exist" checks are tedious to write and even more tedious to read, obscuring the more relevant business-specific validation logic. Better to move the low-hanging fruit into the message format.
Disagree. Dozens of "x should exist" checks are tedious to write and even more tedious to read, obscuring the more relevant business-specific validation logic. Better to move the low-hanging fruit into the message format.