I try to avoid walking on streets that lack sidewalks, but that can be hard to do in Japanese small towns. In Konan, for instance, most streets in the older neighborhoods consist of a single lane that must be shared by cars going both directions, pedestrians, and cyclists. Because of the narrow street width, drivers slow down. Strategically placed signs warn children to look out for cars and trains. (See if you can spot a Pokemon warning sign in the first photo below).
The last picture (above) is of a relatively newer neighborhood in Konan, with a sidewalk running along one side of the street.