??? 01/18/11 11:33 Modified: 01/18/11 11:36 Read: times |
#180682 - _More_ than just MISRA? *heartattack* Responding to: ???'s previous message |
Wouldn't the MISRA standard, if followed to the letter, demand that
some_result[i] = some_input + some_other_input; shall be written as (some_result[i]) = (some_input + some_other_input); ? ;) MISRA has little to do with good code, it's all about avoiding every little bit of ambiguity (even at the cost of making the code harder to read and understand). You probably only want to follow the complete set of MISRA rules if this is required by law. |