The fact that you can't buy things at the price covered by coins is more of an inflation problem.
Cash is needed in society. It's the only method that works reliably and is private.
It sure has its cons, but its pros are great, specially for small amounts.