A swinging door is more energy efficient because the weatherstripping can be sealed much tighter than on a sliding door. Also, a swinging door can be latched with a deadbolt.