I went to both. I liked Herculaneum more because there seemed to be a lot less tourists. I really got to take it all in.
A bit south of Salerno, Paestum is worth a visit--three ancient Greek Doric temples almost side by side, among the best-preserved ancient Greek temples.