Is Boxing great self-defense???

We see it all the time inside of boxing circles and kickboxing circles, where some places emphasize cardio over technique. Others emphasize technique over cardio, but which is best?
All argue that learning from high-level coaches and smart minds in and about boxing and kickboxing fields is the best means to learn.