Laws restricting public carrying of weapons aren't geared towards stopping career criminals, they're geared towards preventing injury and death caused by "lawful owners" accidentally, or intentionally but recklessly, firing their weapons in public, thinking they "needed to" or "should" do it. If someone wants to carry a firearm in public, it means they believe there is a situation where they will need to fire it in public. And as we know, humans are fallible and often think they "need to" do harmful things in situations where they don't. Those cases are what public carrying laws are intended to curb.
(BTW, most deaths due to firearms occur not by thugs/gangsters/career criminals, but by lawful and, prior to the incident, "responsible" gun owners making mistakes.)