Nexus 4 vs HTC One

So I'm in the market for a new smart phone, and it seems that the android phones which get the most praise are the HTC One and the Nexus 4, which one do you believe is better, what is your preference? Or is there another android phone that you feel performs even better? As far as I know these two phones are about equal, although some say the HTC One has a little bit better performance. If any of you have either it would be great to hear what you enjoy about the phone, and about your personal experiences with the phone. Thank you all in advance.