My son rides his bike to school and I'm always reminding him to be vigilant of vehicles speeding, not stopping at stop signs and crosswalks, backing out of their driveway without looking, etc. it doesn't matter if you're right and they're wrong, as a rider or pedestrian, you lose against a vehicle.
And it goes the other way too. As GBA alluded, as a driver, even if you're right, you're the one that has to deal with the guilt, possible repercussions and public scrutiny if you hit an absent minded pedestrian or rider.
We live in the burbs and I work downtown Toronto. I've driven and taken public transit. I've seen it all. Idiocy from all sides. Best thing you can do is to pay attention and be vigilant cause even if you're right, you lose.
Again using GBA as an example. With a row of cars parked or slow moving, especially near a school, there's bound to be an inattentive kid or parent darting between cars. People have been doing that since the dawn of vehicles. You just have to slow down be extra vigilant.