3 ms·
Serialisation often needs additional information not present in the struct definition: for enabling backwards-compatibility and default values. Same for comman
by petters 2y ago
Serialisation often needs additional information not present in the struct definition: for enabling backwards-compatibility and default values.
Same for command line parameters. We want documentation strings, maybe dashes in the name etc.
But that can surely be solved with a little more advanced struct