As Orlove noted, barter may occur in commercial economies, usually during periods of monetary crisis. During such a crisis, currency may be in short supply, or highly devalued through hyperinflation. In such cases, money ceases to be the universal medium of exchange or standard of value. Money may be in such short supply that it becomes an item of barter itself rather than the means of exchange. Barter may also occur when people cannot afford to keep money (as when hyperinflation quickly devalues it).
Anthropologists have argued, in contrast, "that when something resembling barter does occur in stateless societies it is almost always between strangers." Barter occurred between strangers, not fellow villagers, and hence cannot be used to naturalistically explain the origin of money without the state. Since most people engaged in trade knew each other, exchange was fostered through the extension of credit. Marcel Mauss, author of 'The Gift', argued that the first economic contracts were to not act in one's economic self-interest, and that before money, exchange was fostered through the processes of reciprocity and redistribution, not barter. Everyday exchange relations in such societies are characterized by generalized reciprocity, or a non-calculative familial "communism" where each takes according to their needs, and gives as they have.
No academics I talked to were aware of any evidence that barter was actually the precursor to money, despite the story’s prevalence in economics textbooks and the public’s consciousness. Some argue that no one ever believed barter was real to begin with—the idea was a crude model used to simplify the context of modern economic systems, not a real theory about past ones.
In recent years, barter has enjoyed a resurgence as a means of countering economic insecurity, unemployment and worker exploitation. The nature of modern-day work, the pervasiveness of the Internet and the rise of social networking have all contributed to its spread. Other examples of alternative economic systems include gift economies, sharing economies and time banks.
During economic downturns, when there is a keenly felt shortage of jobs and cash, people have historically adopted barter systems. The world’s most established bartering-style system is Switzerland’s wir: the German word for “we” as well as the abbreviation of Wirtschaftsring, which translates loosely to “economic circle.” In 1934, the economy in Switzerland had tanked—as it had in much of the world. Two businessmen who were facing bankruptcy, Paul Enz and Werner Zimmermann, gathered 15 of their associates in Zurich and hashed out a solution: a mutual credit system.