But what was the actual impact of coffeehouses on productivity, education and innovation? Rather than enemies of industry, coffeehouses were in fact crucibles of creativity, because of the way in which they facilitated the mixing of both people and ideas. Members of the Royal Society, England’s pioneering scientific society, frequently retired to coffeehouses to extend their discussions. Scientists often conducted experiments and gave lectures in coffeehouses, and because admission cost just a penny (the price of a single cup), coffeehouses were sometimes referred to as “penny universities.” It was a coffeehouse argument among several fellow scientists that spurred Isaac Newton to write his “Principia Mathematica,” one of the foundational works of modern science.

Coffeehouses were platforms for innovation in the world of business, too. Merchants used coffeehouses as meeting rooms, which gave rise to new companies and new business models. A London coffeehouse called Jonathan’s, where merchants kept particular tables at which they would transact their business, turned into the London Stock Exchange. Edward Lloyd’s coffeehouse, a popular meeting place for ship captains, shipowners and traders, became the famous insurance market Lloyd’s.

And the economist Adam Smith wrote much of his masterpiece “The Wealth of Nations” in the British Coffee House, a popular meeting place for Scottish intellectuals, among whom he circulated early drafts of his book for discussion.

No doubt there was some time-wasting going on in coffeehouses. But their merits far outweighed their drawbacks. They provided a lively social and intellectual environment, which gave rise to a stream of innovations that shaped the modern world. It is no coincidence that coffee remains the traditional drink of collaboration and networking today.

Now the spirit of the coffeehouse has been reborn in our social-media platforms. They, too, are open to all comers, and allow people from different walks of life to meet, debate, and share information with friends and strangers alike, forging new connections and sparking new ideas. Such conversations may be entirely virtual, but they have enormous potential to bring about change in the real world.

Although some bosses deride the use of social media in the workplace as “social notworking,” more farsighted companies are embracing “enterprise social networks,” essentially corporate versions of Facebook, to encourage collaboration, discover hidden talents and knowledge among their employees, and reduce the use of e-mail. A study published in 2012 by McKinsey & Company, the consulting firm, found that the use of social networking within companies increased the productivity of “knowledge workers” by 20 to 25 percent.

The use of social media in education, meanwhile, is backed by studies showing that students learn more effectively when they interact with other learners. OpenWorm, a pioneering computational biology project started from a single tweet, now involves collaborators around the world who meet via Google Hangouts. Who knows what other innovations are brewing in the Internet’s global coffeehouse?