Why Engineers Should Study Philosophy
hbr.org
hbr.org
Speaking of mathematics, I strongly recommend exposure to upper-division math, with theorem finding and proof writing. Math gives you a feeling for analytical rigor like nothing else will.
I'm not saying there is nothing of value in philosophy, just that you need to be selective. For the prospective software engineer, I think you are more likely to find helpful things coming the analytic rather than the Continental perspective.