Would be better to have an electric car, however there is a strong oil lobby that doesn't let electric cars become a reality. There are much money involved and if suddenly everyone starts using electric cars, then a lot of rich guys will lose their wealthy income. And some countries that explore oil would lose the income as well. Electric cars + renewable energy sources are a good solution to decrease costs and at same decrease the pollution in the world.
The ironic is that it's already possible to become a reality, but because some people don't want, it's not put in practice.