Although the other answers correctly explain the basic logical equivalence of the two proof methods, I believe an important point has been missed:

  - *With good reason*, we mathematicians prefer a direct proof of an implication over a proof by contradiction, when such a proof is available. (all else being equal)

What is the reason? The reason is the *fecundity* of the proof, meaning our ability to use the proof to make further mathematical conclusions. When we prove an implication (p implies q) directly, we assume p, and then make some intermediary conclusions r<sub>1</sub>, r<sub>2</sub>, before finally deducing q. Thus, our proof not only establishes that p implies q, but also, that p implies r<sub>1</sub> and r<sub>2</sub> and so on. Our proof has provided us with additional knowledge about the context of p, about what else must hold in any mathematical world where p holds. So we come to a fuller understanding of what is going on in the p worlds.

Similarly, when we prove the contrapositive (&not;q implies &not;p) directly, we assume &not;q, make intermediary conclusions  r<sub>1</sub>, r<sub>2</sub>, and then finally conclude &not;p. Thus, we have also established not only that &not;q implies &not;p, but also, that it implies r<sub>1</sub> and r<sub>2</sub> and so on. Thus, the proof tells us about what else must be true in worlds where q fails. Equivalently, since these additional implications can be stated as (&not;r<sub>1</sub> implies q), we learn about many different hypotheses that all imply q. 

These kind of conclusions can increase the value of the proof, since we learn not only that (p implies q), but also we learn an entire context about what it is like in a mathematial situation where p holds (or where q fails, or about diverse situations leading to q). 

With reductio, in contrast, a proof of (p implies q) by contradiction seems to carry little of this extra value. We assume p and &not;q, and argue  r<sub>1</sub>, r<sub>2</sub>, and so on, before arriving at a contradiction. The statements r<sub>1</sub> and r<sub>2</sub> are all deduced under the contradictory hypothesis that p and &not;q, which ultimately does not hold in any mathematical situation. The proof has provided extra knowledge about a nonexistant, contradictory land. (Useless!) So these intermediary statements do not seem to provide us with any greater knowledge about the p worlds or the q worlds, beyond the brute statement that (p implies q) alone.

I believe that this is the reason that sometimes, when a mathematician completes a proof by contradiction, things can still seem unsettled beyond the brute implication, with less context and knowledge about what is going on than would be the case with a direct proof.