Call Microsoft!
Kidding, of course. We wouldn't want to have to reboot the shuttle's computers in mid flight. And we wouldn't want the blue screen of death.
I see no reason why software could not be reusable. Most flight paths could be prewritten long before they were needed.
