but as of recently i've switched to cola and haven't looked back. by boiling ham in cola you lightly infuse it with a sweet flavour. it offers an added layer of flavour you miss out on if using water. the coke itself takes on other spices really well too, which we'll get into in just a sec.