Why is the One Mini better than the S4 Mini?

When the HTC One Mini got announced everyone at the Verge seemed to hail it as the answer to all their prayers for a decently spec'd small android phone. What I dont understand is the fact that the One mini has the same S400 (clocked lower), lower ram, and a smaller battery. The only positive that I can see for the one is the Screen and maybe the design (if you like it)

Can anyone explain this to me since HTC is getting universal praise yet when the S4 mini was announced it was trashed as a garbage phone.

I don't particularly care for either phone but the reaction towards both of these announcements seems strange to me.