Before I became a programmer, I wanted to be a cop, studied criminal justice....as I was going to school I had some cops in class. I befriended many cops and started meeting outside of school with them.
That has resulted in me switching to computer science. I saw cops drinking, telling me to have a drink and not worry....telling me to just call them if I get pulled over. This really didn't sit right with me, and bothers me even today. Then, I heard a story from one cop being out with cop buddies and driving wasted, smashing into car and running away.
I also ran into extremely racist narcs in Chicago. Who would loudly say the N word around African-Americans.
This was like 10+ years ago.
I actually have a cop close to me now, he is a sergeant. He recently told me all his new recruits cannot write, and his job is to rewrite their reports. They have a hard time hiring people now, and this is in one of the most affluent areas in the US.
It seems that younger generation have a very negative view of the police, and rightfully so. There really needs to be an overhaul, however, I really don't know how can you fix something so rotten.