 Another reason to use both methods is that through-hole mounting can provide needed strength for components likely to endure physical stress (such as connectors that are frequently mated and demated or that connect to cables expected to impart substantial stress to the PCB-and-connector interface), while components that are expected to go untouched will take up less space using surface-mount techniques.