Although, as a general case, a ship unlucky in falling in with whales continues to cruise after them until she has barely sufficient provisions remaining to take her home, turning round then quietly and making the best of her way to her friends, yet there are instances when even this natural obstacle to the further prosecution of the voyage is overcome by headstrong captains, who, bartering the fruits of their hard-earned toils for a new supply of provisions in some of the ports of Chili or Peru, begin the voyage afresh with unabated zeal and perseverance.
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).
For one thing, the barter myth “makes it possible to imagine a world that is nothing more than a series of cold-blooded calculations,” writes Graeber in Debt. This view is quite common now, even when behavioral economists have made a convincing case that humans are much more complicated—and less rational—than classical economic models would suggest.
He would have heard of channels and sandbanks, of natural features of the land useful for sea-marks, of villages and tribes and modes of barter and precautions to take: with the instructive tales about native chiefs dyed more or less blue, whose character for greediness, ferocity, or amiability must have been expounded to him with that capacity for vivid language which seems joined naturally to the shadiness of moral character and recklessness of disposition.
Another advantage of bartering is that you do not have to part with material items. Instead, you can offer a service in exchange for an item. For instance, if your friend has a skateboard that you want and their bicycle needs work, if you are good at fixing things, you can offer to fix their bike in exchange for the skateboard. With bartering two parties can get something they want or need from each other without having to spend any money.
The history of bartering dates all the way back to 6000 BC. Introduced by Mesopotamia tribes, bartering was adopted by Phoenicians. Phoenicians bartered goods to those located in various other cities across oceans. Babylonian's also developed an improved bartering system. Goods were exchanged for food, tea, weapons, and spices. At times, human skulls were used as well. Salt was another popular item exchanged. Salt was so valuable that Roman soldiers' salaries were paid with it. In the Middle Ages, Europeans traveled around the globe to barter crafts and furs in exchange for silks and perfumes. Colonial Americans exchanged musket balls, deer skins, and wheat. When money was invented, bartering did not end, it become more organized.
In Spain (particularly the Catalonia region) there is a growing number of exchange markets. These barter markets or swap meets work without money. Participants bring things they do not need and exchange them for the unwanted goods of another participant. Swapping among three parties often helps satisfy tastes when trying to get around the rule that money is not allowed.
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.
Anthropologists have argued, in contrast, "that when something resembling barter does occur in stateless societies it is almost always between strangers, people who would otherwise be enemies." Barter occurred between strangers, not fellow villagers, and hence cannot be used to naturalisticly 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.