Both of my parents started their careers as scientists in industry after getting graduate degrees in the 50s. They saw people with science background being able to go into practically anything, including programming, business, entrepreneurship, and so forth.
I learned programming in high school, and fell in love with it, but I had an internship at a computer facility, and also looked ahead at the typical CS curriculum. It all seemed terribly boring. So I majored in math and physics. Oddly enough, the people who were doing things with computers, that interested me, were in the physics department. I developed the ability to design computerized electronics for measurement and control systems -- which became my career. This was even before "embedded systems" was widely taught in EE departments.
But realistically, a large portion of the software industry today does not require people with a science background. What I don't know is if I'd still find it boring.
Perhaps my parents' attitude was along the line of "you can do anything with a liberal arts education," but with the stipulation that the liberal arts include math and science.