Every young person I've mentored, I've encouraged to get a minor, ideally in a science/engineering discipline or business, but really anything. It broadens your base of knowledge coming out of school so that you can be more effective for yourself and your customers (be that your immediate employers or the ones paying them).
For the same reason as you describe: Most software is meant to solve a specific application. In my current office we have people who are experts in programming but also in orbital mechanics (the math and physics of it all). That makes them invaluable to the customers (who also have experts in orbital mechanics but not in software).
For the same reason as you describe: Most software is meant to solve a specific application. In my current office we have people who are experts in programming but also in orbital mechanics (the math and physics of it all). That makes them invaluable to the customers (who also have experts in orbital mechanics but not in software).