Highly depends on the sort of shooting.
Accuracy target, the .177 rimfire is hard to beat, more accurate than .22 for given range.
Plinking, small animal hunting, the .22 will hold its own.
These rounds are generally cheaper than centerfire.
For longer range, more power, big game hunting, taking down B-52s, the centerfire is the choice.
One does not need a hand cannon for home defense, any centerfire round will do.
People hunt with scope mounted pistols, usually .30 caliber and over in magnum loads,(centerfire)
You get a cheap quality round in either flavor, no difference between the two.