Places like Lockheed Martin pay a premium to have PhDs run their research programs, (credentials matter to the customers) and if you know how to program you will have an enormous advantage over the other PIs who are mostly not programmers. You'll make a decent wage and work on interesting stuff.