This sort of scenario was so undesirable that societies must have created money to facilitate trade, argues Smith. Aristotle had similar ideas, and they’re by now a fixture in just about every introductory economics textbook. “In simple, early economies, people engaged in barter,” reads one. (“The American Indian with a pony to dispose of had to wait until he met another Indian who wanted a pony and at the same time was able and willing to give for it a blanket or other commodity that he himself desired,” read an earlier one.)

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.

When barter has appeared, it wasn’t as part of a purely barter economy, and money didn’t emerge from it—rather, it emerged from money. After Rome fell, for instance, Europeans used barter as a substitute for the Roman currency people had gotten used to. “In most of the cases we know about, [barter] takes place between people who are familiar with the use of money, but for one reason or another, don’t have a lot of it around,” explains David Graeber, an anthropology professor at the London School of Economics.
In his analysis of barter between coastal and inland villages in the Trobriand Islands, Keith Hart highlighted the difference between highly ceremonial gift exchange between community leaders, and the barter that occurs between individual households. The haggling that takes place between strangers is possible because of the larger temporary political order established by the gift exchanges of leaders. From this he concludes that barter is "an atomized interaction predicated upon the presence of society" (i.e. that social order established by gift exchange), and not typical between complete strangers.[13] 

An alternate currency, denominated in labour time, would prevent profit taking by middlemen; all goods exchanged would be priced only in terms of the amount of labour that went into them as expressed in the maxim 'Cost the limit of price'. It became the basis of exchanges in London, and in America, where the idea was implemented at the New Harmony communal settlement by Josiah Warren in 1826, and in his Cincinnati 'Time store' in 1827. Warren ideas were adopted by other Owenites and currency reformers, even though the labour exchanges were relatively short lived.[17]
Bartering does have its limitations. Many bigger (i.e., chain) businesses will not entertain the idea and even smaller organizations may limit the amount of goods or services for which they will barter (i.e., they may not agree to a 100% barter arrangement and instead require that you make at least partial payment). But in an economic crunch, bartering can be a great way to get the goods and services you need without having to pull money out of your pocket.
In the United States, Karl Hess used bartering to make it harder for the IRS to seize his wages and as a form of tax resistance. Hess explained how he turned to barter in an op-ed for The New York Times in 1975.[24] However the IRS now requires barter exchanges to be reported as per the Tax Equity and Fiscal Responsibility Act of 1982. Barter exchanges are considered taxable revenue by the IRS and must be reported on a 1099-B form. According to the IRS, "The fair market value of goods and services exchanged must be included in the income of both parties."[25]
In a small economy where individuals specialize in trades, they may find the process of setting up a centralized currency and maintaining it an unnecessary burden in order to trade. One option may be to use a commodity to exchange value between parties that want to trade goods or services and this is why gold and silver have been useful forms of currency in many cultures and times. Another option may be to use a barter system to trade.