I'm have a master is philosophy and don't regret it for a second. Helped shape my thinking in so many ways and was probably one of the largest contributors to my ongoing success as in software development. I've known a surprising number of philosophy majors in software, so I don't think it's an accident that it helped me. Seems like philosophy may be one of the better areas of study to help get your brain working in ways that are conducive to software.