Locals from each city are proud and the rivalry is real. Compliment what you genuinely love about wherever you are.
HCMC is faster, more entrepreneurial, hotter, and more international. Hanoi is older, slower, more poetic, and more traditional.
Both have their charms. Saying one is 'better' is the surest way to lose a conversation partner.