by task_queue · 11y ago · 0 comments
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.
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.