Skip to main content

This Facebook co-founder learned to code in 2 days

This Facebook co-founder learned to code in 2 days


agine spending a few days to learn a new programming language which would later turn you into a billionaire.

Back in 2005, when Facebook was a tiny startup with 50 people, CEO Mark Zuckerberg was invited to give a lecture at his old school Harvard.


He was such a relative nobody at that time that hardly anybody showed up to hear him.

But the lecture was posted a couple of years ago on YouTube and it's kind of fun to listen to it now, with 20/20 hindsight.

In 2005, Facebook was making some waves in its world. It was a social network for college students that had spread to 2,000 schools and was generating around 400 million page views a day, Zuckerberg told the audience.

Facebook CEO Mark Zuckerberg has one rule for hiring


That was, he estimated, more page views than Google was doing back then. (Remember in 2005, Yahoo was still a big deal for searching the 'net and was considered one of the huge successful internet companies along with eBay and bookseller Amazon.)

The best story he told was about how his roommate and fellow computer science student Dustin Moskovitz got involved with Facebook.

Zuck had built Facebook in his dorm room using a programming language called PHP, and the site was instantly popular.

"I started writing the site, launched it at Harvard in February, 2004, so I guess about two years ago now. Within a couple of weeks, a few thousand people had signed up and we started getting some emails from people at other colleges asking for us to launch it at their schools," he said.

He was taking a hard but fun computer science class "but it didn't leave me with much time to do anything else with Facebook, so my roommate Dustin was like, 'Hey, I want to help out. I want to help you do the expansion."

Zuckerberg told Moskovitz, "That's pretty cool. But you don't know any PHP."

Fortunately, PHP was easy to learn, particularly if you knew the classic programming language "C" which Moskovitz had learned.

PHP, not PERL, dude

"That weekend he went home, bought the book PERL for Dummies, came back and was like, 'OK, I'm ready to go.'

Zuck told him, "The site's written in PHP, not PERL, dude." Undeterred, Moskovitz studied PHP, and learned that language, too, in "a couple of days" and "went to work," helping Zuckerberg figure out the technical issues of expanding from one school to many.


Both Zuckerberg and Moskovitz dropped out of Harvard and moved to Palo Alto to work on Facebook full time.


Moskovitz left Facebook in 2008, three years after this talk. His Facebook stock would later make him a young billionaire, too. Years later, a somewhat fictionalized account of their relationship would become a central theme in the book "The Accidental Billionaires" which would lead to the movie "The Social Network."

Top Comment

This media is so stupid. They don't know the difference between learning programming language and computer science fundamentals, later takes couple of years.The Voice


And Zuck said something else in that lecture that's really interesting with hindsight. He never planned on Facebook becoming the huge global phenom it is today.


"One characteristic of companies that are really successful, not that we're really successful but we still fall into this bucket, is that they started off trying to make something cool and not trying to make a company," he says.




Comments

Popular posts from this blog

How to find and remove duplicate files from PC uplicate files can cause all kinds of problems on your computer, taking up precious storage room, confusing your photo or media manager apps, and generally getting in the way of searches and other operations when you'd rather they didn't. You don't have to accept duplicate files as an inevitability of running a PC, though: Here's how to get rid of them. Duplicate files can crop up for all kinds of reasons: Maybe you downloaded a file, forgot it was there, and then downloaded it again; maybe you copied a folder of images and then never got around to getting rid of the originals. Whatever the reason, they clog up your disk space and shouldn't be left to gather dust. For the purposes of this guide we're going to use DupeGuru-it's Lifehacker's pick as the best duplicate file finder for Windows, and it's available for Mac and Linux as well. If you're not taken with DupeGuru, then some of the best al...

Gmail Automation

Gmail Automation: 5 Useful Google Scripts to Automate Your Gmail 1. Auto delete emails after X number of days Very often, after we read the email, we will just keep it in our inbox, regardless whether it is useful or not. While Google gives you tons of space to store your emails, you might still want to clean up your inbox and get rid of those useless emails. The following script can check emails with the “Delete Me” label and delete them after “x” number of days. 1. Go to  Google Scripts  and create a blank project (make sure you are logged into your Google account). Paste the following script and save it. function auto_delete_mails ( ) { var label = GmailApp.getUserLabelByName ( "Delete Me" ) ; if ( label == null ) { GmailApp.createLabel ( 'Delete Me' ) ; } else { var delayDays = 2 // Enter # of days before messages are moved to trash var maxDate = new Date ( ) ; maxDate.setDate ( maxDate.getDate ( ) -delay...

Dynamic Host Configuration Protocol (DHCP)

The Dynamic Host Configuration Protocol (DHCP) is a network service that enables host computers to be automatically assigned settings from a server as opposed to manually configuring each network host. Computers configured to be DHCP clients have no control over the settings they receive from the DHCP server, and the configuration is transparent to the computer's user. The most common settings provided by a DHCP server to DHCP clients include: IP address and netmask IP address of the default-gateway to use IP adresses of the DNS servers to use However, a DHCP server can also supply configuration properties such as: Host Name Domain Name Time Server Print Server The advantage of using DHCP is that changes to the network, for example a change in the address of the DNS server, need only be changed at the DHCP server, and all network hosts will be reconfigured the next time their DHCP clients poll the DHCP server. As an added advantage, it is also ...