Comment role models (Score 1) 584
Role models will be the deciding factor. Having a mother who programs and a father who programs, especially if you include her in your computer time, will be a major help.
Then again, some people just don't like it. My oldest, 19 now, is incredibly good at math (though she doesn't like it) and science but her focus is on the "softer" side of things. She wants to work with animals, zoology type stuff, so not a complete lack of science but not the hard focus engineering puts on it. At the same time she's grown up fixing cars and building things right alongside of me. She enjoys that but it's not her passion.
In the end, the best thing you can do is expose your kids to a wide option of possibilities and teach them to make their own decisions and that if they don't like something after a few years they can change their mind again and try a different path.