Question.7
A developer writes a static_assert with a vague message:
static_assert(sizeof(Frame) == 8, "Error");Another writes a descriptive one:
static_assert(sizeof(Frame) == 8,
"CAN frame struct has padding. Expected 8 bytes for standard CAN. "
"Use __attribute__((packed)) or reorder members.");Which is better practice?