Skip to content

Checking your reading list…

Retry verification

Stay curious. Build better.

Appearance

Choose how BestHub looks on this device.

Changes apply immediately.

Search articles

Open Discover with these filters

Suggested searches

How a Bad PHP Code Led to Google’s Dodgeball and the Birth of Foursquare

How a Bad PHP Code Led to Google’s Dodgeball and the Birth of Foursquare

From a clueless interview at Google in 2005 to the creation of Dodgeball, the story follows Dennis’s messy PHP code, its acquisition by Google, the rise of location‑based social apps, and how this journey ultimately birthed Foursquare, illustrating the power of ideas over imperfect code.

In 2005 Dennis arrived at Google's New York office for an interview, where he struggled with classic algorithm questions and shocked interviewers with terrible PHP code.

Google office
Google office

Despite his lack of formal programming training, Google hired him to acquire the website he had built, called Dodgeball, to capture its revenue.

Dennis had earlier conceived the idea of a location‑based service while sending SMS messages to a server, allowing friends to see each other's positions on a web page.

After a difficult period working at various companies and a stint teaching ski lessons, he enrolled in NYU’s Interactive Telecommunications Program, where he and Renate rewrote the Dodgeball system in PHP for his master’s project.

In 2004 they launched Dodgeball, which quickly gained users, media attention, and eventually attracted Google’s acquisition.

Dodgeball interface
Dodgeball interface

Google’s purchase did not provide the support Dennis expected, and the service was later shut down in 2009, giving way to Google Latitude.

Undeterred, Dennis and Renate created a new version of the service, initially called Jimmy Disco, which became the wildly successful Foursquare, growing to millions of users and even attracting President Obama.

Foursquare logo
Foursquare logo

Throughout the journey, Dennis’s coding skills remained modest, but his innovative ideas proved that a compelling concept can thrive even with imperfect code.

About this article

For questions about attribution, corrections or content rights, please contactadmin@besthub.devand we will review it promptly.

Report an issue with this article
location-based servicesFoursquareGoogle acquisitionmobile social appstartup history

Reader feedback

Was this useful?

Useful0

Discussion 0

Questions, practical examples and thoughtful responses.

Open full discussion