Glasgow is much larger, and was more industrialized, than Edinburgh and is usually portrayed as suffering from a post-industrial malaise. However, it's a great place and the University has an excellent reputation.
Edinburgh is ridiculously picturesque and historical but it does have a reputation for being, when compared to Glasgow, of not nearly such a welcoming place.