Personally i think discs are just a bit hit and miss.. if they perform well they're better than rim brakes but if they don't.. they're worse.. the trick is figuring out why they're not performing as they were intended, with mechanical, the angle at which the cable enters the actuator arm has a lot to do with it, they don't work well with all frames, they need to be as free flowing as possible, no extreme cable angles..
Hydraulics? well.. i only wish i knew. My Hope Mini's work great.. my Magura are the opposite!
When we moved into our house my neighbour was a cycle commuter and rode a Boardman Halfords spesh.. come lockdown she started working from home (she still does) so she bought a Cube carbon road bike, f&f are lovely but in order to hit the low price point it was sold with shite components.
Cycling has since taken over her life (she does 120 miles every Sunday, 5am start, time trials and such) so she's destroying the components on a weekly basis... anyway i digress, i took her bike out for a spin last weekend because she's got some clicking noise from the crank (bb has already been replaced by lbs) and wanted a second opinion.. the performance of her cheap hydraulic disc brakes are absolutely fantastic.. better than my Klampers, better than my Mini's i didn't look what they were but based on the rest of the components they're going to be cheap.. erm shit