Coded for Success

Coded for Success

Hadi Partovi explains why he founded and why learning how to code is important.


9 - 12+


Engineering, Experiential Learning, Mathematics


Students on computers

Code is a nonprofit that helps get computer programming classes into schools. 

Photograph by Mark Thiessen, National Geographic
Code is a nonprofit that helps get computer programming classes into schools. 

Hadi Partovi had a revelation after speaking with United States President Barack Obama as part of an advisory panel on technology in December 2011. Partovi, a longtime tech industry player who had been an early investor and adviser for companies such as Facebook and Dropbox, spoke to the president for a minute or two about the importance of getting computer programming instruction into American schools.

“Right afterwards, I realized that I shouldn’t just talk about this problem,” Partovi says. “I should try to solve it myself, and I got more and more into it. Then as I got more and more into it, I realized it’s such a bigger problem than it seems.”

In January, Partovi and his brother Ali launched, a nonprofit organization “dedicated to growing computer programming education.”

Computer programming, or coding, is the process of developing a set of instructions for computers, so they perform certain tasks or exhibit specific desired behaviors.

Partovi’s long-term goal is to get computer programming classes into every school in the country. He views coding as an essential skill in today’s job market. Unfortunately, nine out of 10 schools across the country do not offer computer science courses. This means, Partovi says, that 90 percent of schools don’t teach the type of science that leads to 60 percent of jobs in high-demand, math- and science-related fields.

The public generally doesn’t recognize the lack of computer science courses, he says. 

“The biggest issue in trying to solve this is that most Americans don’t even realize it’s an issue,” Partovi says.

Getting the Word Out is getting the word out about the need for computer programming courses with its star-studded website and video. The video features tech industry all-stars, including Bill Gates and Mark Zuckerberg. These veteran programmers talk about how coding is necessary in today’s society—and not that difficult to learn.’s website features testimony from supporters outside the tech industry, including former President Bill Clinton, Senator Marco Rubio, musicians and Enrique Iglesias, and actor Ashton Kutcher. 

Partovi says the wide range of voices shows that the issue is bipartisan and affects more than one sector of the economy.

“It was real important for me to help get the message across that this is not just a tech industry issue,” he says.

The website also allows teachers, principals, and superintendents to request help in adding or integrating computer programming classes in their schools. 

Partovi says more than 10,000 schools have asked for’s help in implementing computer science classes.

Thankfully, 20,000 software engineers have also contacted to volunteer their skills.

Partovi says about 4,000 schools currently teach computer programming. 

“We can more than triple that list in the country just by servicing the schools that have reached out to us,” he says.

One of’s next steps is to design a program that combines technology and teacher training. Another goal is setting up a complete database of all the schools that offer computer science courses.

Fixing the American Dream

Partovi’s knowledge of coding and computer programming has been what he calls an “absolutely critical” component to his success in the tech industry.

Growing up in Tehran, Iran, Partovi learned to code when he was about nine years old. It helped that his father was the first professor to teach at Iran’s top tech college, Sharif University of Technology. Partovi remembers his father buying him and his brother a Commodore 64 computer and encouraging them to program it. 

“We just subscribed to some magazines and got a book and started learning how to code,” he says.

Partovi graduated from Harvard University with a degree in computer science in 1994. After college, his programming skills secured him a position at Microsoft, focusing on the Internet Explorer web browser. From there, Partovi was part of the founding team of several tech companies, including the music-sharing service iLike and telephone service company Tellme. 

“A lot of the reason I was invited to get involved as an investor or adviser in the early companies like Facebook or Dropbox is because of my technical background,” Partovi says. “And also it’s a large part of why I recognized that these companies had something that other companies didn’t. Most non-technical investors would not be able to recognize the difference.”

Realizing that computer programming knowledge contributed greatly to his own success, Partovi sees the skill as essential. 

And getting computer programming into schools “is a way that can both help the U.S. economy and fix the broken American Dream,” he says. is a nonprofit foundation dedicated to growing computer programming education.

Fast Fact

Code Red

“For most people on Earth, the digital revolution hasn’t even started yet. Within the next 10 years, all that will change. Let’s get the whole world coding!”

—Eric Schmidt, executive chairman, Google

“If you can program a computer, you can achieve your dreams. A computer doesn’t care about your family background, your gender, just that you know how to code. But we're only teaching it in a small handful of schools, why?”

—Dick Costolo, CEO, Twitter

“Whether our children want to become farmers, doctors, teachers, or entrepreneurs, it’ll be easier for them to achieve their dreams in the digital age if they have some background in computer science. We need our children to learn 21st century skills for a 21st century world, and coding teaches them the creativity and problem-solving skills that are necessary for success.”

—Sen. John Thune (R-South Dakota)

“Learning to code unlocks creativity and builds confidence in students regardless of age, gender, or race. Computer programming can also be a teaching tool for other subjects, from physics to French. With today’s technology, learning to code is more fun and more accessible than ever, and America’s teachers welcome it into our schools and classrooms.”

—Dennis Van Roekel, president, National Education Association

“Kids who understand code are at the highest level of literacy in the 21st century. This will give all kids the tools to move from consumers to creators, enabling them for huge success.”—Mario Armstrong, digital lifestyle expert and television host “If you have a daughter, she should go be an engineer.”

—Meg Whitman, president and CEO, Hewlett-Packard

“I’d like to advocate for computer coding to be an institution in the public school systems right next to biology, chemistry, physics, etc. If we want to spur job growth in the U.S. we have to educate ourselves in the disciplines where jobs are available and where economic growth is feasible.”

—Ashton Kutcher, actor

Media Credits

The audio, illustrations, photos, and videos are credited beneath the media asset, except for promotional images, which generally link to another page that contains the media credit. The Rights Holder for media is the person or group credited.

Stuart Thornton
Jeannie Evers, Emdash Editing, Emdash Editing
Kara West
National Geographic Society
Last Updated

October 19, 2023

For information on user permissions, please read our Terms of Service. If you have questions about how to cite anything on our website in your project or classroom presentation, please contact your teacher. They will best know the preferred format. When you reach out to them, you will need the page title, URL, and the date you accessed the resource.


If a media asset is downloadable, a download button appears in the corner of the media viewer. If no button appears, you cannot download or save the media.


Text on this page is printable and can be used according to our Terms of Service.


Any interactives on this page can only be played while you are visiting our website. You cannot download interactives.

Related Resources