The story of Ada Lovelace seems to get more fantastic every time I hear it. Even Turing himself, who has no shortage of actual achievements, has his role in the Enigma cracking overstated at the expense of other cryptanalysts, especially those from other countries
As for the Poles who were actually the first to crack the Enigma code, they aren't alone among Polish mathematicians being ignored in the West. My top example of a Polish mathematician who unjustly lacks fame would be Helena Rasiowa.
Ada Lovelace might not have been the "first programmer", but she was at least talented, a visionary, and an interesting character.
With that background why would hiring Hamilton as a junior at the Draper Laboratory be an indictment of NASA managaement?
FWiW I did a pure applied mathematics degree + half an actual engineering course (it got too easy so I transfered to math as they were letting students work directly on control systems for robots rather than rote bookwork).
Four years after graduation, with four years coding experience on things both numerical and symbolic I transferred into a geophysics position developing software for signal aquistion (from sat, sea, air, and ground units), processing, projection, interpretation (this was before Keyhole + google maps | google earth so the group was also writing their own world scale mapping software (late 80s | early 90s)).
Long story short, I had similar experience levels to Hamiliton at that time and I was very definitely a Jr on the team as everybody else had way more eperience than I did.
I guess such things are relative.
Also, why would you assume "sexual relations"? That's just crass.
https://en.wikipedia.org/wiki/Talk:Margaret_Hamilton_(softwa...
(or in the archive at)
https://en.wikipedia.org/wiki/Talk:Margaret_Hamilton_(softwa...
It seems that no one has so much as questioned the narrative on Wikipedia. And the only source we have questioning it is a nitter/twitter thread (above). Which is not saying that the questioner is wrong per-se, -it could be a niche of a niche thing-, but eh.