Depending on how one defines “better,” can result in different answers. It’s important to remember that for either of these exhaust vent mechanisms to work well, healthy intake ventilation is crucial. As a general rule, if there's ample ridge, ridge vents are typically better (ex//simple gable roof). If there is very little ridge for ridge vents to exhaust (ex//hip roof with small ridge), power fans are typically better.