When installing a bath exhaust fan, is it better if the vent exits through an exterior wall or through a roof vent?
Either is fine. What's important is that the fan vents outside, and not into your attic. Assuming all else is equal, let distance guide your desicion. The shorter the distance outside, the more efficient the ventilation process will be.