Unfortunately, a lot of dog attacks are by Pit Bull Terriers and I quite agree they should be restricted.
However several attacks recently have been where dogs have got out of a backyard, which also unfortunately, does happen from time to time with some people. It does not happen with me as I am very careful as I value my dogs too much so make sure they cannot get out.
However, there are many breeds of dogs that have attacked, and in some cases, killed people or other dogs.
All dogs have the capacity to bite and if handled incorrectly, could indeed do so.
Some breeds far more than others and I therefore totally agree with legislation however how to police this legislation is another matter.
My own dogs have never bitten anyone and they can take food out of the other's bowl however I would not leave them unattended with a young child.