Learning to write programs stretches your mind, and helps you think better, creates a way of thinking about things that I think is helpful in all domains.