Well, I'll have to put in a shameless plug for the nearest metro to my hometown, Mangalore
Software Development is probably far more enjoyable when you're sitting under coconut trees, breathing fresh air.
Out of the choices you've provided, I'd say Mysore is a less poor choice, purely based on weather, cleanliness, and traffic. But I definitely wouldn't recommend either city to anybody...