On a similar note: what do you think is best practice for reserving memory in a struct for future usage? For example, if you have a binary file format with a header like this:
struct Header
{
char waterMark[3];
uint16_t width;
uint16_t height;
uint8_t reserved[16];
}
So that you can future proof v1 binaries to still be compatible with v2 by adding empty padding on "reserved" which lets you add fields in the future. I do this sometimes and always wonder if there are other philosophies on it