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

Trendingnow

1

Microsoft AI chief gives it 18 months—for all white-collar work to be automated by AI

2

Former top Russian official admits the country is over Putin and can 'imagine a future without him' — even elites bail as Kremlin seizes their assets 

3

The Bezos family just donated $100 million to help achieve one of Mayor Zohran Mamdani’s top campaign promises

1

Microsoft AI chief gives it 18 months—for all white-collar work to be automated by AI

2

Former top Russian official admits the country is over Putin and can 'imagine a future without him' — even elites bail as Kremlin seizes their assets 

3

The Bezos family just donated $100 million to help achieve one of Mayor Zohran Mamdani’s top campaign promises

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
  • 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

BlackRock private credit fund’s valuations are probed by DOJ
InvestingDepartment of Justice
BlackRock private credit fund’s valuations are probed by DOJ
By Olivia Fishlow, Ava Benny-Morrison and BloombergMay 17, 2026
1 hour ago
Ukraine brings the war to Moscow with one its largest drone attacks on the capital, adding to the ‘darkening cloud of anxiety over Russia’
EuropeRussia
Ukraine brings the war to Moscow with one its largest drone attacks on the capital, adding to the ‘darkening cloud of anxiety over Russia’
By Samya Kullab and The Associated PressMay 17, 2026
2 hours ago
Drone strike sparks fire at UAE nuclear power plant, the first time it’s been attacked since the Iran war started
EnergyNuclear Energy
Drone strike sparks fire at UAE nuclear power plant, the first time it’s been attacked since the Iran war started
By Jon Gambrell, Samy Magdy and The Associated PressMay 17, 2026
2 hours ago
This community college student is America’s entrant in the Olympics of skilled trades. ‘I always wanted to be the first female to do something’
Future of Workthe future of work
This community college student is America’s entrant in the Olympics of skilled trades. ‘I always wanted to be the first female to do something’
By Mike Householder and The Associated PressMay 17, 2026
2 hours ago
Some states blast utilities for ‘blatant corporate greed’ as profits rise while consumers revolt against AI-fueled electric bills
EnergyUtilities
Some states blast utilities for ‘blatant corporate greed’ as profits rise while consumers revolt against AI-fueled electric bills
By Marc Levy and The Associated PressMay 17, 2026
2 hours ago
 Sen. Bill Cassidy, who voted to convict Trump in Jan. 6 impeachment, loses primary as president retains grip on GOP — ‘that’s what you get’
PoliticsRepublican Party
 Sen. Bill Cassidy, who voted to convict Trump in Jan. 6 impeachment, loses primary as president retains grip on GOP — ‘that’s what you get’
By Thomas Beaumont, Jack Brook, Stephen Smith and The Associated PressMay 17, 2026
3 hours ago

Most Popular

Microsoft AI chief gives it 18 months—for all white-collar work to be automated by AI
AI
Microsoft AI chief gives it 18 months—for all white-collar work to be automated by AI
By Jake AngeloMay 16, 2026
1 day ago
Former top Russian official admits the country is over Putin and can 'imagine a future without him' — even elites bail as Kremlin seizes their assets 
Politics
Former top Russian official admits the country is over Putin and can 'imagine a future without him' — even elites bail as Kremlin seizes their assets 
By Jason MaMay 16, 2026
19 hours ago
The Bezos family just donated $100 million to help achieve one of Mayor Zohran Mamdani’s top campaign promises
Politics
The Bezos family just donated $100 million to help achieve one of Mayor Zohran Mamdani’s top campaign promises
By Jake AngeloMay 12, 2026
5 days ago
SpaceX heads into a record-shattering IPO with the 'deepest moat that exists today' as investors vow to 'never bet against Elon'
Innovation
SpaceX heads into a record-shattering IPO with the 'deepest moat that exists today' as investors vow to 'never bet against Elon'
By Jason MaMay 16, 2026
1 day ago
Oil markets could be a month away from the moment of truth. Brace for a 'non-linear' price spike and panic buying, analysts warn
Energy
Oil markets could be a month away from the moment of truth. Brace for a 'non-linear' price spike and panic buying, analysts warn
By Jason MaMay 16, 2026
22 hours ago
‘You’re not a hero, you’re a liability’: Shark Tank’s Kevin O’Leary warns Gen Z founders to stop glorifying hustle culture
Future of Work
‘You’re not a hero, you’re a liability’: Shark Tank’s Kevin O’Leary warns Gen Z founders to stop glorifying hustle culture
By Jacqueline MunisMay 16, 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.