3 ms·
MISRA C is total nonsense. If you need that then you should not be using C. Either you can just write the thing in straight assembler while observing the same s
by dfox 3y ago
MISRA C is total nonsense. If you need that then you should not be using C. Either you can just write the thing in straight assembler while observing the same set of rules and the result will be more readable (or well, COBOL which is more or less an equivalent to C with MISRA C rules) or you should use some high level language intended for that kind of application where the compiler can check for the issues that this ruleset tries to handle, which means Ada (or another application-specific weird Pascal/Modula dialect like CHILL or whatever).