On 2013-09-21 15:13, mrd wrote:
Is this the right way?
There are special formats (Protocol Buffers, for example) for a binary
format what can be changed over time without breaking old code.
But for normal serialization is not this redundant?
Besides, search by name slower compared with other methods (field
numbers, for example).
Not necessarily. I could implement that by default it will use the field
number, if the names doesn't match it could fallback to do a lookup by name.
I would like to avoid having a dependency on the orders of the fields.
--
/Jacob Carlborg