Writing code to execute in orbit seems interesting. Do you have any further suggested reading?
Developing safety-critical code is governed by extensive guidelines (like DO178-B) which dictate lots of things, not just about code (process of development, testing, etc)