One of the big reasons the F-35 program is such a disaster is that it was intended to be a fighter that could be modified for basically all Western Bloc countrie's needs. This brought an incredible amount of complexity that not only costs more money in and of itself, but became ripe for milking by the military-industrial complex.