>>11365079Software development just needs to be done carefully every step of the way. Make sure it's not just a collection of lone guys each hacking away independently without any oversight.
First of all, every little feature is worked on on a branch, basically a seperate copy of the project. So not everyone is just messing with the main code base at every step.
On these branches, it is common practice to do code reviews whenever the feature is finished and is supposed to get integrated back to the main code base. Code review means other coders look at what was done and look at whether the code is readable, performs decently and it's not some weird hack solution.
Then you have QA on top of that, making sure both that the new features work before they get added to the code base as well as that already existing features will still work as intended after the new stuff was integrated into the code base.
This is aided by automated tests. You basically write extra test code that calls all your individual real functions with dummy data and makes sure they always produce the results that you predetermined earlier. In a properly set-up system, you would usually run these tests before you can merge a feature back into the main code-base. So this makes sure that nobody fucks something up when trying to fix something unrelated.
You can also automate UI tests, but I doubt they play much of a role in rocketry... well maybe with SpaceX where everything is touch screens.
I'm not sure about such humongous projects as this one. But I assume they have even more audits on top of all of this.
At least these are the basic procedures we use to build apps. You'd hope rockets are programmed at least as dilligently.