You have an extremely narrow view of what programming is.
Programming, withou relation to computers and software, is the process of organising a sequence to gain a result. Those things usually grew into systems, which usually men managed - from basic Econimics (Which Aristotle wrote about) to politics, labour, etc.
And in relation to technology, there were instances of programming beforehand:
-Aristotle's syllogism (Used to derive a true statement, IF\ELSE logic is based on it)
-Mathematical algorithms (From IX century, used to gradually solve an equation)
-Jacquard's weaving table, which used separate needles and punched cards to map out (program) complex patterns before the process starts.
-Jacques Vacaunson's Flute-playing automaton, using a coordinated system of pistons.
Again, most of this was done or invented by men. Women had to program only because men allowed them to (And because hardware back then took more time and resources, geg). Men pretty much came up with programming before we gained it's modern definition.
Also this is the tranny hate thread. Just because we hate trannies doesn't mean that we're all up for some (historical) nagging.