• Home
  • Latest
  • Fortune 500
  • Finance
  • Tech
  • Leadership
  • Lifestyle
  • Rankings
  • Multimedia

If Mark Zuckerberg taught you to code…

By
Patricia Sellers
Patricia Sellers
Down Arrow Button Icon
By
Patricia Sellers
Patricia Sellers
Down Arrow Button Icon
February 26, 2013, 4:29 PM ET
Hadi and Ali Partovi

Some people dream about becoming the next Mark Zuckerberg.

How distressing, then, that only nine states count computer science as credit toward high school graduation. The number of U.S. schools teaching computer science has actually declined in the past eight years.

Two wealthy and well-connected coders I know today launched a star-studded video about getting kids and educators jazzed about coding.

Hadi and Ali Partovi, who are funding the film and their new Code.org with their own millions, persuaded tech stars like Bill Gates, Zappos CEO Tony Hsieh, Square CEO Jack Dorsey, and Facebook’s Zuckerberg, to talk about why learning to code is a must and how coding figures in their own success.

The video doesn’t reveal the Partovi brothers’ own story–a fascinating tale about how learning to code propelled them.

Born in Iran in 1972, the twin brothers lived there during their first 12 years. “It was a scary time under an Islamic totalitarian government at war with  Iraq,” says Hadi. The boys taught themselves to code on a Commodore 64 computer that their dad, a professor at Iran’s leading technical university, brought home from Italy.

Education was paramount in the Partovi family. When they got out of Iran in 1984, parents and twins slept in a bedroom in their grandparents’ Tarrytown, New York home–saving money so the boys could attend private school. Geeks of equal measure (Hadi was valedictorian, Ali was salutatorian in high school), they worked their way through Harvard teaching computer science. Hadi and Tony Hsieh, on a Harvard Computer Programming team together, placed seventh in a global coding competition.

Then the brothers scored in the startup world. On the founding teams of Tellme (Hadi) and LinkExchange (Ali)–Hsieh’s pre-Zappos startup–the brothers both made money selling those companies to Microsoft . Leveraging college connections, they also invested early in Facebook, Dropbox, Airbnb, and Zappos.

“Go to Harvard, meet the smartest people and invest in them,” advises Hadi. “That’s the best way to make money.”

Oh, and learn to Code. Their new video–directed by Lesley Chilcott, a producer of Waiting for Superman and An Inconvenient Truth–will be shown in schools and in movie theaters, thanks to Microsoft’s sponsorship. The short film is smart and entertaining, but as you might expect, some of the best stuff landed on the cutting room floor. Here’s an outtake that the Partovi brothers shared with us exclusively: Mark Zuckerberg on how he inspired one kid to code.

[youtube http://www.youtube.com/watch?v=EGS96s9saL0]

About the Author
By Patricia Sellers
See full bioRight Arrow Button Icon

Latest in

Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025

Most Popular

Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Fortune Secondary Logo
Rankings
  • 100 Best Companies
  • Fortune 500
  • Global 500
  • Fortune 500 Europe
  • Most Powerful Women
  • Future 50
  • World’s Most Admired Companies
  • See All Rankings
Sections
  • Finance
  • Fortune Crypto
  • Features
  • Leadership
  • Health
  • Commentary
  • Success
  • Retail
  • Mpw
  • Tech
  • Lifestyle
  • CEO Initiative
  • Asia
  • Politics
  • Conferences
  • Europe
  • Newsletters
  • Personal Finance
  • Environment
  • Magazine
  • Education
Customer Support
  • Frequently Asked Questions
  • Customer Service Portal
  • Privacy Policy
  • Terms Of Use
  • Single Issues For Purchase
  • International Print
Commercial Services
  • Advertising
  • Fortune Brand Studio
  • Fortune Analytics
  • Fortune Conferences
  • Business Development
About Us
  • About Us
  • Editorial Calendar
  • Press Center
  • Work At Fortune
  • Diversity And Inclusion
  • Terms And Conditions
  • Site Map
Fortune Secondary Logo
  • About Us
  • Editorial Calendar
  • Press Center
  • Work At Fortune
  • Diversity And Inclusion
  • Terms And Conditions
  • Site Map
  • Facebook icon
  • Twitter icon
  • LinkedIn icon
  • Instagram icon
  • Pinterest icon

Latest in

Middle EastIran
Trump confirms ‘massive and ongoing’ attacks on Iran, warns of possible casualties, and calls on Iranian people to overthrow regime
By Jason MaFebruary 28, 2026
9 minutes ago
Form Energy CEO Mateo Jaramillo is pictured at Form Factory 1 in Weirton, West Virginia.
Energybatteries
Google is building a bevy of renewable energy in Minnesota—including the world’s largest battery system providing power for a whopping 100 hours
By Jordan BlumFebruary 28, 2026
24 minutes ago
sam altman
AIOpenAI
Sam Altman tells staff at an all-hands that OpenAI is negotiating a deal with the Pentagon, after Trump orders the end of Anthropic contracts
By Sharon GoldmanFebruary 27, 2026
10 hours ago
Future of Workthe future of work
Have good taste? It may just get you a job during the AI jobs apocalypse, says Sam Altman
By Marco Quiroz-GutierrezFebruary 27, 2026
10 hours ago
CybersecurityMeta
Trump’s FTC backs off social media regulation despite finding that nearly 20% of America’s children are online for 4 hours or more
By Catherina GioinoFebruary 27, 2026
10 hours ago
Emil Michael smirks
AIAnthropic
Emil Michael, the Silicon Valley exec turned Trump official leading the war against Anthropic, has deep ties to the tech world
By Lily Mae LazarusFebruary 27, 2026
11 hours ago

Most Popular

placeholder alt text
Innovation
An MIT roboticist who cofounded bankrupt robot vacuum maker iRobot says Elon Musk’s vision of humanoid robot assistants is ‘pure fantasy thinking’
By Marco Quiroz-GutierrezFebruary 25, 2026
3 days ago
placeholder alt text
Commentary
'The Pitt': a masterclass display of DEI in action 
By Robert RabenFebruary 26, 2026
2 days ago
placeholder alt text
Success
Japanese companies are paying older workers to sit by a window and do nothing—while Western CEOs demand super-AI productivity just to keep your job
By Orianna Rosa RoyleFebruary 27, 2026
17 hours ago
placeholder alt text
Economy
It’s more than George Clooney moving to France: America is becoming the ‘uncool’ country that people want to move away from
By Nick LichtenbergFebruary 27, 2026
1 day ago
placeholder alt text
Success
Jeff Bezos says being lazy, not working hard, is the root of anxiety: ‘The stress goes away the second I take that first step’
By Sydney LakeFebruary 25, 2026
3 days ago
placeholder alt text
Success
Walmart exec says U.S. workforces needs to take inspiration from China where ‘5 year-olds are learning DeepSeek’
By Preston ForeFebruary 27, 2026
1 day ago

© 2026 Fortune Media IP Limited. All Rights Reserved. Use of this site constitutes acceptance of our Terms of Use and Privacy Policy | CA Notice at Collection and Privacy Notice | Do Not Sell/Share My Personal Information
FORTUNE is a trademark of Fortune Media IP Limited, registered in the U.S. and other countries. FORTUNE may receive compensation for some links to products and services on this website. Offers may be subject to change without notice.