A lot depends on how this person intends to use the gun....
If it is just to say they now have a handgun (pistol), then anything goes.
<<<Since the OP states "first handgun purchase," I shall discuss only HANDGUNS>>>
However, I would recommend a revolver over a semi auto just because of the simplicity in combination with the safety factor for a newbie and any of his newbie friends that may want to shoot it with him.
If he wants to plink a lot with it, then I would recommend a .22 due to the price of the cartridges. If it is for home defense, I would recommend something with a lot more power -- probably 38 Special at minimum.
If that is the case, then perhaps a .357 Magnum would be a good choice as he could shoot 38 Special starting out plinking and target shooting and then work up to +P loads, then finally to Full Magnum loads.
Whatever he buys, I would recommend that he buy good quality (I myself have grown extremely partial to S&W's as I have had pretty good luck with all but one that I purchased over the years, and the one problem S&W, they quickly made good on). I also really like the looks of the S&W. It seems that some other manufacturers like the looks as well as some seem to be copying the style of S&W. Of course his budget has a lot to do with what he will ultimately end up with.
The price of ammo is also a major consideration -- unless he eventually takes up reloading. Let's talk "for now."
The ammo cost is a big factor while he saves his empty cases for the future, that is if he REALLY gets into it all the way -- the way I did when I bought my first revolver which was a blued single action 6" barreled .357 Magnum Ruger Blackhawk.