I like hardwood because it's easy to clean if you spill something, while carpet will stain and you'll have to get a carpet cleaner in order to clean it. I also like it better because it doesn't get dirty like a carpet. Carpets naturally get dirty over time just from you stepping on them.
carpet is less expensive, requires more maintenance (cleaning, vacuum, stain removal, etc) and has to be replaced periodically. hardwood needs less maintenance. and seldom needs replacement. hardwood is also more attractive and the choice for high end installations.
I had carpet when I bought my house but put in hard wood about 2 years later and the wood is so much easier to keep clean. But I like to walk around bare footed and it's usually really cold most of the time. So it just depends on what you're using it for and what you prefer really
Hands Down. Hardwood floors. Speaking from my experience as a LIC. Real estate appraiser and LIC. Home inspector. Hardwood last longer. Increases home values. Traps less germs. Less bugs ex. Fleas. The list just keeps going on