12 Jun
2013
12 Jun
'13
9:03 a.m.
On 06/11/2013 11:31 PM, james wrote:
I have found systems with soft data structures to be more easily enhanced than ones built from IDL, and have not had many problems from mismatched syntaxes. Rigid syntax (whether from IDL, or some XML form check) always seem to end up subverted with additional key/value data or (even worse) data embedded into 'structured comments'. There's a reason for that and it all goes back to schema evolution, and that's why systems like protobuf tend to sacrifice clean syntax for extensibility..
JSON (combined with REST) is probably a better example, because protobuf is also built from an IDL (the .proto file) and knowledge of the IDL is needed in order to correctly interpret some fields.