Maybe this applies more to countries with faster trains? They only go ~30mph here and I never had any problem crossing tracks on foot with trains in the far distance, and the rest of my family did it too. These tracks also had a lot of curves though.