Call it the thinking man's ice bucket challenge: an hour of code.
Last week, everyone from US President Barack Obama to top model Karlie Kloss tried their hand at writing software for one hour in the global campaign by nonprofit Code.org to make coding less intimidating to students and teachers.
The "Hour of Code" campaign, which ended on Sunday US time, was the latest step by large tech companies to help boost interest in computer science as they face a shortage of qualified engineers and developers.
Code.org, which offers online tutorials in coding, has the financial backing of tech leaders, including Microsoft founder Bill Gates and Facebook chief Mark Zuckerberg, who have called for more computer training in schools and US immigration reform to allow more programmers and other technology specialists into the country.
The nonprofit also raised just over US$5 million to expand the "Hour of Code" to 100 million students worldwide in a crowdfunding campaign that ended on Sunday US time. Google, Salesforce.com and others have agreed to match donations made to the Indiegogo campaign, according to Code.org.
More than 75 million people have used Code.org to study code since December 2013, when it launched the first weeklong "Hour of Code" campaign.
The nonprofit says just 10 percent of US schools teach computer science. Partovi said many students and teachers are under the mistaken impression that coding is for geniuses.
He added that the coding campaign is part of a larger effort to get every US school to add computer science to its curriculum rather than help tech giants hire engineers.
"We're getting third-graders to code," said Partovi, who worked at Microsoft and has advised many companies, including Facebook. "Who knows if any of these corporations will even exist when these kids graduate from college?"