I've heard of a gunsmith that disagrees, but I know a lot of people that compete with Glocks or carry Glocks, and we are the people that dry-fire pistols as much as we shoot them with live ammo.
Modern centerfire pistols are practically a non-issue for most of us. Even some modern rimfires, like the Kimber 1911, specifically say it's okay.
Blue & Gold Firearms Training
"It doesn't matter how many people I've killed. What matters is how I get along with the people who are still alive." - Jimmy the Tulip