They'll spend millions of dollars on something that's hardly better than a college project, mostly written by interns and barely cobbled together to get a working demo.
The justification for sloppy code is the fact that there's no oversight on projects like these. They just get it done even if it sucks. Working in defense was some of the worst code and poorest management I've seen in my life.
One of my friends works as an engineer for the state DMV. He tells me about similar issues. Some people he work with should never have even gotten the job, they barely know how to code.
But it looks like programming errors abound as well... Yeesh!