I'll offer a different 'lesson learned' and that is that F-35 is likely the last manned fighter the US will build. The rest will be controlled by AI, with hundreds of pounds of payload/gross weight removed for all of the things needed to put a human into the aircraft.
What happens if the enemy's software writer is better than yours?