Gases under high pressure are routed through the tube side, because high pressure gases are corrosive in nature
Presence of a non-condensible gas decreases the condensing film co-efficient
Gases to be heated/cooled is normally routed through the shell side, because the corrosion caused by the cooling water or steam condensate remain localised to the tubes