Expect a ton of posts countering what I am about to say, but one should not excessively dry-fire even Glocks. Yes, they can and have been dry-fired to death and in fact have to be dry-fired to field strip, but there have been cases of breech-face failures due to copious amounts of dry-firing, perhaps combined with a pre-existing condition of a brittle breech face in a particular example, either inherent or common to not so common due to a couple of factors. The breech face in Glocks is one of the thinnest areas in the slide and when treated with the tennifer (hardening) process can become brittle, perhaps when combined with a not so desirable molecular alignment of the steel in the area before or after the extremely hot nitriding process.
When dry-fired without a snap cap, the "shoulders" of the striker are not prevented from slamming into the back of the breech face causing a sort of harmonic shock. When fired with ammo, the breech face is slammed by the rear portion of the shell casing brass in the shape of a circle. You can actually see the outline on the visible portion of the breech face. Dry-fired enough and sometimes a fracture can develop along this outline and eventually this may lead to a catastrophic failure of the breech face, leading to the necessity of slide replacement.
I fully expect a ton of people to slam this post, but someone will be along (hopefully shortly) with links to pictures illustrating that about which I am writing. The point is that probably most can dry-fire their Glocks hundreds or thousands of times without any evident problem...but some will not be so fortunate. And perhaps, it is just a matter of time before the problem occurs to most Glocks. I don't know. What I do know is that if I plan to dry-fire my Glocks for any duration for whatever reason, I use snap caps. It's not that hard to reset the striker without ejectring the snap cap and snap caps also offer the opportunity for other sorts of drills involving ejection and chambering. So why not have them on hand? That is my rule of thumb for all pistols.