Bill Gates has been fixated on programming since age 13, when his school got its first computer terminal. "The machine was huge and slow, and it didn't even have a screen," he writes on his blog, Gates Notes. "But I was hooked." He spent as much time as he could learning about computers, hacking and coding. "That introduction to computer science changed the course of my life," says the Microsoft co-founder. Today, half a century later, Gates still believes that "everyone can benefit from learning the basics of computer science. The questions it teaches you to ask — How do you accomplish a task? Can you find a pattern? What data do you need? — are useful no matter where you go in life."

Bill Gates Adam Galica | CNBC

Other successful individuals agree with Gates, including his wife Melinda. As she said in 2017 during Computer Science Education Week, computer literacy is an "essential skill" and computer science has the power to change the world: "The more we encourage different kinds of people to get interested in technology the better that future will be." And if Reddit co-founder Alexis Ohanian could give his 20-year-old self one piece of advice, it would be to stick with computer science. He took the one CS class offered at his high school in Columbia, Maryland, and thought he might become a programmer, he said during a Facebook Live Q&A hosted by 1850 Brand Coffee. But when he got to the University of Virginia and met a few computer science majors, he lost confidence. Looking back, "I wish I had the confidence and the conviction to actually stick with it and keep with it," said the 35-year-old, who ended up majoring in history and business.

It's the most valuable thing you can do for your career. Alexis Ohanian co-founder of Reddit and Initialized Capital