If you know what you’re getting into before you step onto the sidewalk, you’re far less likely to have a bad experience.