Glocks are great I like them and use them but for a rookie it may be problematic. Glocks are very unforgiving of bad or careless handling and for a rookie it may be better to go with a Sig or even a quality revolver till skills improve
Unless you are a real butterfingers, you are not going to shoot yourself in the foot with a glock.
They are pretty much the AK47 of the pistol world. Easy to take down, clean, and maintain.