Being a cop is a much more dangerous job than being a programmer, but it’s far from the most dangerous job around. Bartenders (1.6x), taxi drivers (1.7x), landscapers (1.5x), miners (2.6x), roofers (4x), fishers (7x), and loggers (9x) are all more likely to die on the job than cops, and none of these professions have developed the siege mentality that cops have.
Furthermore, the public image of patrol officer death typically involves violent shootouts with criminals, but in reality death by homicide only accounts for about half of patrol officer deaths, with death by automobile making up the rest. For 2013 10.8 officers died per 100,000, with 49% dying by car accident, 45% by homicide, and 6% by other causes.
This pales in comparison to the homicide rate for pregnant women, with up to 10.5 women being murdered per 100,000[0]. This means that a pregnant woman is as likely to be murdered as a cop is likely to die on the job from all causes, and said pregnant woman is twice as likely to be murdered than any cop.
Furthermore, the public image of patrol officer death typically involves violent shootouts with criminals, but in reality death by homicide only accounts for about half of patrol officer deaths, with death by automobile making up the rest. For 2013 10.8 officers died per 100,000, with 49% dying by car accident, 45% by homicide, and 6% by other causes.
This pales in comparison to the homicide rate for pregnant women, with up to 10.5 women being murdered per 100,000[0]. This means that a pregnant woman is as likely to be murdered as a cop is likely to die on the job from all causes, and said pregnant woman is twice as likely to be murdered than any cop.
0. https://www.ncbi.nlm.nih.gov/pmc/articles/PMC1449445