When it comes to personal weapons comparable to a hand-gun there's not much in the way of complicated electronics. The most that I can think of would be TASERs and holographic sites; neither of which are particularly complicated.
"Complicated electronics" on a car are designed (usually) to make it safer. If those complicated electronics go wrong, it can cause injury or death.
"Complicated electronics" on this gun are designed to make it safer. If those complicated electronics go wrong, it can cause injury or death.
So if you won't use a gun because it has "complicated electronics" you shouldn't drive a modern car either.