nexus 5X or android 6P Question

What would be better for android programming nexus 5X or nexus 6P i can’t make my mind up what one to pick.:slight_smile:

Both are very good phones I like the design of 6P much better

nexus 5x is the better option