There a lot of great advice for you here. I'd like to stress a few points that shouldn't get lost in this list though.
All guns in good working order are safe. I don't buy the "Glocks are known for negligent dischage" stuff. If you follow the rules of firearm safety, and learn the right way to do things, any gun you choose is only going to be as safe as its operator.
All guns need maintenance. While some will say that dirty magazines or poorly lubricated slides or whatever may produce a misfeed in an auto, all guns should be maintained and kept in good working order. If you keep things clean, oiled, and responsibly owned, you shouldn't have a problem. An example: My mother just got an SP101 (Ruger revolver) and didn't clean it after she put quite a few rounds through it. She called me for help one evening because she couldn't get the cylinder back into the frame. It turns out that it was so dirty that it wouldnt' even close up. That was on the almight reliable revolver. It wasn't maintained and I she promised to never do that again.
If you are going to be diligent about keeping this new tool in good working order, keep it maintained and clean, it'll serve you well for years. If you neglect it, it'll have issues regardless which you choose.
The simplicity of the revolver is often appreciated by new shooters especially ones that have no clue when it comes to machines with moving parts. The Glock is definitely going to be more involved having to know different parts, pieces, and how they all work together. If you don't plan on taking the time and being dedicated to learning how your tool works, then a revolver may be a better bet. If you can grasp machines, then the Glock will be a great choice. Either way though, I'd guess you'd agree that you should know how either gun works as well as you possibly can.
Regarding things like trigger control, the weight of the trigger pull, etc, that doesn't mean anything. You should practice to become proficient with whatever you are shooting. All guns are different. If the double action pull of the revolver is more than the Glock (which it probably will be) you have to pull harder. What will matter is your hand strength and ability to actually pull the trigger. The action of pulling the trigger to touch off a round is the same with both. You will practice to become proficient with triggers and disciplined in their use. If I hand you my HK after you own a Glock, you should be able to fire it without issue as you will be disciplined in trigger control. If my trigger is 2 pounds heavier, you will have to overcome its power, but that won't have anything to do with the discipline you have regarding its use.
I could go on, but I always say when I take people to buy their first gun (which I've done several times) that it's mostly about the person, the size of the hand, the time available to master this new tool, the trigger reach, preference of feel (for instance I hate Glocks because they don't point naturally in my hand, but do perfectly in my mother's), etc. Sadly, it's hard to come to a forum where nobody knows you personally and tell you which you'll like better or be more effective with.
Personally, I hate revolvers. I won't bore you with the reasons. I can shoot them though because all of the practice, training, and discipline I've acquired over the years can be transferred to any gun.
Go to a store or find a friend with options and shoot them if you can. Pick them up. See that it fits your hand. See that it points naturally. See that it's balanced in your hand. Etc... If you find something that fits you personally, then with practice and training, you'll be efficient and effective with any gun.
Just my humble opinion...