Came across a nice paper by NASA/JPL scientist Gerard Holzmann on coding guidelines.
Fun Notes:
- Interestingly, I recently wrote a couple of posts on the very same topics discussed in the paper β on function calls and macros βΒ in my earlier posts. Amazing how events happen in this universe.
π
- Iβve worked on a project in which I blatantly broke the first rule β by using setjmp/longjmp to gracefully handle asserts and error-conditions.
Here’s the link to the paper The power of Ten β Rules for Developing Safety Critical Code.