While in absolute terms rim brakes are probably just as good as disc brakes. The difference lies in the feeling and modulation of the forces.
Also, the disc is a consumable on both types. I have worn down rims to the point where I was scared to use the wheels.
The initial setup can be a bit annoying with hydro discs, but it's a tradeoff I'm happy with.