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

Trendingnow

1

As Big Tech showers employees with perks to win the talent war, Nvidia built a nearly $5 trillion company by making people pay for their own lunch

2

MacKenzie Scott alone accounted for one-third of America's $19.2 billion in megagifts last year

3

Philanthropy leader at Warren Buffett and Bill Gates’ Giving Pledge says children of billionaires are pushing them to give their wealth away faster

1

As Big Tech showers employees with perks to win the talent war, Nvidia built a nearly $5 trillion company by making people pay for their own lunch

2

MacKenzie Scott alone accounted for one-third of America's $19.2 billion in megagifts last year

3

Philanthropy leader at Warren Buffett and Bill Gates’ Giving Pledge says children of billionaires are pushing them to give their wealth away faster

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
Add Fortune on Google for similar content.
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
Add Fortune on Google for similar content.

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
  • World's Most Admired Companies
  • See All Rankings
  • Lists Calendar
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
  • Group Subscriptions
About Us
  • About Us
  • Press Center
  • Work At Fortune
  • Terms And Conditions
  • Site Map
  • About Us
  • Press Center
  • Work At Fortune
  • Terms And Conditions
  • Site Map
  • Facebook icon
  • Twitter icon
  • LinkedIn icon
  • Instagram icon
  • Pinterest icon

Latest in

Trump’s 927-page disclosure is just a normal Tuesday for direct indexing and crypto wealth managers
InvestingDonald Trump
Trump’s 927-page disclosure is just a normal Tuesday for direct indexing and crypto wealth managers
By Catherina GioinoJuly 1, 2026
1 hour ago
US President Donald Trump sits in silence with his hands folded on top of each other.
CryptoDonald Trump
Inside Trump’s $1.4 billion crypto empire: Altcoins, Bitcoin—and a stake in Michael Saylor’s Strategy
By Camila Grigera NaónJuly 1, 2026
3 hours ago
The 6 Best Exercise Bikes of 2026: Fitness Expert Reviewed
HealthDietary Supplements
The 6 Best Exercise Bikes of 2026: Fitness Expert Reviewed
By Christina SnyderJuly 1, 2026
3 hours ago
Mark Zandi, Moody's chief economist.
EconomyU.S. economy
‘It’s fair to ask whether it was worth it’: The Iran war has cost Americans $1,000 per household—and that’s a conservative estimate, Mark Zandi says
By Tristan BoveJuly 1, 2026
6 hours ago
Melania Trump NFT earnings surge 28x in 2025 as first lady rakes in nearly $17 million in total earnings, filing shows
PoliticsDonald Trump
Melania Trump NFT earnings surge 28x in 2025 as first lady rakes in nearly $17 million in total earnings, filing shows
By Mia OsmonbekovJuly 1, 2026
6 hours ago
Donald Trump sits at his desk in the Oval Office, smiling and with his hands folded in front of him.
PoliticsDonald Trump
Trump got a $78K pension from the Screen Actors Guild in 2025 because he appeared in Home Alone 2 in 1992
By Sasha RogelbergJuly 1, 2026
7 hours ago

Most Popular

As Big Tech showers employees with perks to win the talent war, Nvidia built a nearly $5 trillion company by making people pay for their own lunch
Big Tech
As Big Tech showers employees with perks to win the talent war, Nvidia built a nearly $5 trillion company by making people pay for their own lunch
By Marco Quiroz-GutierrezJuly 1, 2026
17 hours ago
MacKenzie Scott alone accounted for one-third of America's $19.2 billion in megagifts last year
Success
MacKenzie Scott alone accounted for one-third of America's $19.2 billion in megagifts last year
By Sydney LakeJune 25, 2026
7 days ago
Philanthropy leader at Warren Buffett and Bill Gates’ Giving Pledge says children of billionaires are pushing them to give their wealth away faster
Success
Philanthropy leader at Warren Buffett and Bill Gates’ Giving Pledge says children of billionaires are pushing them to give their wealth away faster
By Preston ForeJune 27, 2026
5 days ago
The Supreme Court's birthright citizenship ruling hands the U.S. economy a $7.7 trillion win
Newsletters
The Supreme Court's birthright citizenship ruling hands the U.S. economy a $7.7 trillion win
By Diane BradyJuly 1, 2026
15 hours ago
Elon Musk on MacKenzie Scott giving away $26 billion of her fortune: 'Sadly,' it makes the world a worse place
Success
Elon Musk on MacKenzie Scott giving away $26 billion of her fortune: 'Sadly,' it makes the world a worse place
By Sydney LakeJune 29, 2026
2 days ago
Current price of oil as of July 1, 2026
Personal Finance
Current price of oil as of July 1, 2026
By Joseph HostetlerJuly 1, 2026
11 hours 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.