Which is easier to root - Galaxy S4 or the HTC one?

To me, it seems that there's something not right about the rooting scene on Android nowadays - it seems much much more harder and easier to brick. You guys can check the forums on xda, where it's not as easy to root (especially considering how easy it was on my galaxy s2).

I'm contemplating which one to buy, although I have rooted and installed custom roms before, nowadays it seems a bit more difficult. SO please recommend which one is easier to root. thanks.