Interestingly, the common wisdom about caffeinated beverages dehydrating you turns out only to be correct if you ingest a lot of caffeine. Moderate amounts of caffeinated beverages will not dehydrate you. So go ahead and have the Diet Coke. I do!
http://www.mayoclinic.com/health/caf...drinks/AN01661