A huge amount of arbitrary rules and inconsistent guidelines causes code quality of even the most critical applications to suffer, according JPL lead scientist Gerard J. Holzmann. That’s why the lab has released ten coding commandments to govern all NASA software: “The Power of Ten – Rules for Developing Safety Critical Code”.

Holzmann and the team penned the rules for developing software with code safety in mind. The rules were specifically written with regards to C, as NASA backs the language for safety-critical code with its long history and extensive tool support. However, the rules can be applied to coding in most other programming languages…

NASA's Ten Coding Commandments by Natali Vlatko