3 ms·
More than likely you'll be absolutely shocked at the code that your car depends on to function (read the Toyota unintended acceleration court documents). Open
by task_queue 12y ago
More than likely you'll be absolutely shocked at the code that your car depends on to function (read the Toyota unintended acceleration court documents).
Opening that interface or code turns that black box of deniability into potential evidence of shitty practices leading to failure in what should be safe, correct and easily tested modules.
Think global variables, 4k line functions, goto/jumps, completely ignoring industry standard practices like MISRA, etc.
It's horrifying.
- nitrogen 12y agoThink global variables, 4k line functions, goto/jumps, completely ignoring industry standard practices like MISRA, etc. A note about embedded programming on a microcontroller: global variables and goto can be used effectively and safely. Their presence or absence does not alone indicate code quality. Even a 4kloc function might be reasonable if the compiler couldn't be relied upon to inline functions into a time critical global update loop.