Consider adopting MISRA-C or Embedded C++ |
|
|
|
|
Written by Graham Stoney
|
|
For environments where high reliability is required, if you're writing in C, consider at least checking out the UK's MISRA-C coding standard. It's designed for the automotive industry, but can be applied anywhere that high reliability is essential.
If you're using C++, consider the embedded subset of C++. You'll lose a lot of your traditional constructs by doing so, but it can make the code easier to understand for people who can't stomach a language with a 1000 page text book as its primary reference.
|