3 ms·
Well, I have programmed under MISRA C at a company for a couple of weeks before I left. Have seen with my own eyes that a colleague of mine added suppression co
by pajko 6y ago
Well, I have programmed under MISRA C at a company for a couple of weeks before I left. Have seen with my own eyes that a colleague of mine added suppression comments for MISRA warnings about unchecked return values of some timer functions, saying that instead of fixing the real problem doing this is good as it's a lot easier to convince some outsider entrusted to check and question code changes that it definitely will not make any harm as it's just about adding comments. I have asked three times whether is this really a good idea, and he insisted on that yes it is, as it fixes the problem. A couple of days later I quit. I don't think having unchecked timer initialization is a good idea anywhere near a car...