It all comes down to responsible ownership and common sense.
My parents owned a boarding kennels, dogs were walked on their own or with dogs they came with. Dogs were not ever mixed because they didnt know each other and we didn't know how they would respond to each other.
Dogs were walked on leads at all times unless we could guarantee they had good enough recall to return when called immediately. This was tested several times in a fully enclosed paddock before we went off lead on the open bridal path where members of the public and other dogs could be present.
All dogs were approached with wariness and respect, big small and anything in between can bite and will if they are Ill, hurt, scared, threatened... you cannot look at a breed and know that it will or won't bite in every circumstance. We had a border collie customer who was an absolute delight, lovely to walk, friendly, soft as anything. Unless you touched the top of her head in which case she bit immediately with no warning and hard. She came from an abusive background where a previous owner had apparently hit her over the head repeatedly.
What would I think be effective, but wouldn't happen because it's too costly, is to bring back dog wardens in much greater numbers and issue on the spot fines to anyone not picking up dog poo and who have dogs off lead that they can't recall or that are pestering other dogs/people. Basically put penalties in place that are enforced, that require effective training and/or control of your dogs. Repeat offences should result in the dog being removed and a ban on owning more dogs with a consequence if they breach the ban.
Last year I saw a pit bull mix come running out of a house, through the open garden gate and launch itself at a dog being walked on a lead on the other side of the road. It latched onto this dogs throat and was shaking it like a rag doll. It was a kill move. The owner of the attacked dog was trying to get away and ended up being bitten badly in the process. The owner of the attacking dog was standing like a moron in the gate shouting the dogs name. Me and a couple of others went over and threw blankets over the attacking dog and managed to rip it free of the poor dog and owner who were streaming with blood.
Called the police, logged it. I was terrified as the owner of the attacking dog has little children, the youngest still a baby. The police took the report but did nothing. The dog is still there and I'm waiting till I hear it's killed another dog or a child.