3 ms·
Think global variables, 4k line functions, goto/jumps, completely ignoring industry standard practices like MISRA, etc. A note about embedded programming on a
by nitrogen 12y ago
Think 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.