In Star Wars: Episode IV - A New Hope, the following exchange takes place:
PORKINS: I've got a problem here.
BIGGS: Eject.
I don't understand how ejecting would be preferable to being killed outright. If the mission failed, the Rebel attack fleet would presumably be routed or entirely destroyed, and the ejected pilot would be left to wait around until he was spotted by the Imperial forces and, I assume, killed on the spot.
A rescue also seems totally out of the question - before the photon torpedoes enter the exhaust port, all resources have to be directed at getting a torpedo into the port, not rescuing stranded pilots. Once the torpedo enters the exhaust port, there simply isn't time for a rescue.
This being the case, why would anyone suggest ejecting?