Having lived and worked in both, I'd say that Glasgow is much better during the day but Edinburgh is much nicer to walk around in at night. Both are equally full of arseholes, but they're differently flavoured arseholes, if you will. Edinburgh arseholes talk in ridiculous sing-song voices that make them somewhat laughable even when they're trying to be hard. Glasgow arseholes talk in guttural nasal tones that make them sound like they're squaring up to you, even when they're only asking the time So, in conclusion: Dundee.
Nice big statue of Deperate Dan, mind. I wonder how many blitzed Dundonians have tried to square go it?