Absolutely they considered programming to be not as serious. There's a great book called Digital Apollo by David Mindell[1] that talks about the creation of the Apollo Guidance Computer.
One of the stories is of a male manager who, after being put in charge of a team of software developers, asks his wife not to tell any of their friends he was managing a software team.
[1] https://www.amazon.com/Digital-Apollo-Human-Machine-Spacefli...