Earlier quoted context omitted.
I took a few pit mixes out of the local humane society last summer for "Doggy Day Out", basically an opportunity for dogs who need new homes to get exposure to the community and get away from the kennel for a few hours, and they were universally friendly, sweet dogs. There's some selection bias, obviously, but their reputation is definitely overblown.
They are very sweet dogs, until they're not. I was at a friend's place with some others from school, we were about 14-15 years old, his family had this seemingly sweet pitbull, always wanting to be pet, super playful but kind. That day it attacked one of our classmates, out of the blue, we were sitting on the backyard, the dog playing with some rope toys, brought it to us sitting, this guy picked up the toy to throw…
Since then if I see a strange dog and the option is there I keep plenty of distance between it and me no matter what I take to be it's state.