2 ms·
Coding standards can be a pain, but most rules make sense and if they don't make your code difficult to read and unwieldy you should probably create an exceptio
by okl 8y ago
Coding standards can be a pain, but most rules make sense and if they don't make your code difficult to read and unwieldy you should probably create an exception.
One example where such an exception would have been justified is found in cFE:
https://github.com/nasa/cFE/blob/04c0cc342415575f855dc00960afc8daedd8a46e/cfe/fsw/cfe-core/unit-test/evs_UT.c#L106 https://github.com/nasa/cFE/blob/04c0cc342415575f855dc00960a...
Thousands of lines of clutter in the unit tests because they are not using a function-like macro.