Is it better to live in the city or the suburbs?

I enjoyed living in the city when I was younger and spent a lot of time with friends; it was very convenient to be close to everyone. As I got older and had kids, it was important to have more space in my home - I was spending more time inside my home than outside it. When I retire, I may want to go back in to the city.