The original point was that a police officer get paid "crazy money." Without a segue into your new point I didn't recognize that you were starting a new conversation.
How many software developers retire as software developers? How many police officers retire as a first line supervisor or higher?
That's a really interesting question; I know plenty of developers that move on to making less money. Either though Developer -> (part time) Developer, Developer -> Teacher or in one case Developer -> Raft Guide. But, I don't really know what happens as an industry.
However, I seems like a lot of officers retire early and either just retire or take a side job with higher pay and little benefits or just something to pass the time.
Honestly, I have no idea what the average is, but there are probably some interesting trends.
IMO that's really the point. A police officers base salary is significantly lower than a software developers base salary. Add in pensions and there reasonably close. Add in Overtime and the officers may in some cases make more. Granted, a tiny fraction of software developers end up making far higher salarys, but the total/hour worked gap is not exacly all that huge.
PS: Of course some developers also make tiny salary's.