Go through a few iterations of refinement for them to get their heads out of their asses with something expensive like a new fighter and it's easy to see how the cost has ballooned. However, if they keep funding the program they can work through the right tradeoffs to end up with something that works better than what was before, while maybe not quite hitting the marks that were planned on at the outset.
It just costs $billions of development and years to work through.
Fortunately, Americans are willing to spend hilarious amounts of money on our weapons systems so we can get something useful at the end of the program.
Occasionally we pull the plug because the program was so ill-thought-out that there's no way to salvage it, like with the Zumwalt.
We want an airplane that's stealthy! And modular! And can have vertical lift capabilities! That can be swapped out with a laser that doesn't exist! And can be used with a huge internal payload! And is also carrier-capable! And has super-cruise! And still fits an internal gun! And...
That they managed to iterate it into something that could actually be fielded is kind of amazing when you stop and think about it.
The biggest challenge in any dialogue about the F-35, like NASA's SLS, is that it's hard to separate how one feels about the acquisition itself vs. the end product. If you're a mission planner, you want the F-35's capabilities and you don't care about the ugly history of how the capability became available. If you're a taxpayer, you should be angry at how poorly managed the F-35 program was and the profligate sunk costs. Any attempt to collapse judgment about the F-35 onto a single axis will lead to low-quality discussions.
One can validly be wary that exalting the capabilities will lead to future acquisitions which learn no lessons from the F-35 because in the end, everyone will just praise the delivered capability after you weather the storm. From my vantage point in DoD aerospace, there is certainly a widespread recognition of the baggage associated with the F-35.
One thing is for certain - wishing they would just stop all production and start over is pure fantasy. There is too much commitment and reliance on these aircraft being in the force mix across many nations. It's not going to happen.
It’s always the same. Go into newspaper archives and you’ll see article after article how bad the F-16 and F-15 are, way too expensive, perform badly, too complicated, too much electronics. Same for the F-22.
I think the discrepancy in public perception comes down to physical appearances. The F-22 looks lean and mean, while the F-35 looks lumpy and frumpy. Physical appearance is the way most laymen judge jets. Ugly jets which are nevertheless popular have some other dramatic attribute which which offsets their appearance, like the A-10's autocannon.