IANAL, but there have been laws on the book prohibiting bartering in any substantial amount for a while. Of course, the IRS is not going to chase you down for swapping with your neighbor, but large scale "bartering" is definitely frowned upon. What's to stop people bartering a yacht for a house and avoid taxes?