Victor is correct about people dodging responsibilities although I must confess to being amused by the number of people who quote the highway code as though it is law and then in another post excuse a cyclist for ignoring it.
The only realistic way to avoid confrontation with a dog is to stop, as has been said before. To carry on and try to dodge or outpace it [my lurcher for example could reach nearly 45 mph if she wanted] is simply to put both your and other people's [when they try and avoid this madly swerving cyclist] lives at risk.
Finally if there is something in the way on a shared path try slowing down and saying excuse me [you arn't driving a german made car after all]. What would you do if it were a small child in the way, just kick it in the head and scream abuse at it's mother ?
Maybe you missed the point, or perhaps I wasn't clear in my text? Yesterday, I'm bimbling , no hurry, turd dispenser on lead, on left of path , wrinkly on left of path, wrinkly sees me, steps back across path unreeling lead, whilst turd dispenser moves forward, turd dispenser being the 6inch high urban rat model means lead hits front wheel (16inch) just at the top and dissapears under the mudguard and I push the lead maybe another 6 inches forward. So, how fast do you think I was going, and how different do you think it would be if I had said "Excuse me"? You are free to find a post of mine where I have excused a cyclist for ignoring the HC, but whilst you are doing that you could consider that there is a far simpler, realistic way of avoiding confrontations with dogs than to force the innocent party to stop , that way, is for the owner of the dog to keep it on a short lead. Simple, cheap, easy ( for everyone in the world, bar the dog owner) and allows the rest of the world to continue their lives without having to work around the turd dispenser. It would also have the double benefit of forcing the dog owner to stand next to the dog whilst it's laying it's turd , rather than walking off and trying to pretend that they haven't seen it. Feel free to come up with a reason why any dog owner can't be bothered to do this, there are over 10,000,000 dogs in the UK, and there must be at least 9,000,000 reasons why their particular little poochikins is special and doesn't need to be under control.