No single gun is perfect IMHO- any gun you rely on for self defense needs to be one you are very familiar with.
It has to be comfortable shooting on the range, AND relatively cost effective to shoot. I think a 9 mm is a good choice in these respects. A 380 "palm pistol", is not, again, my...