Software engineering is definitely THE field to get into these days, with lower student loans, 4 years of study and ever growing salaries. This is my first time posting here but I've been following studentdoctor for years now dating back to when I was in school and wanted to go into pharmacy. I studied biology in preparation until I realized it wasn't the field for me and changed majors to computer science instead. This took another 2.5 years until I finally graduated in 2012. My first software development job out of college was at a mid size IT consulting firm. I along with 3 other recent grad coworkers had starting salaries of around $60k each. Fast forward 4 years later and we have all switched jobs, some of us twice. Two of those coworkers now make over $100k. As for myself I got a security clearance and now make around $140k, standard 40hr work week. And if you work in Silicon Valley or do financial programming in New York, salaries can go even higher, although these two places typically expect a 50+ hr work week. My cousin got an offer of $120k working at a startup in Silicon Valley after graduating with a Masters in CS in Stanford. Where I live, starting salaries for developers are now creeping up to $70k-$80k.
Who knows what the future holds for pharmacy and software development but like another poster said, we will depend more and more on computers . But as of right now, software development is better if you are strictly talking in terms of return of investment. If you have a passion for pharmacy then please stay the course. But if not and you are just looking for a profession with great job prospects and pay then software development might be for you, the field is RED HOT. Hell you don't even need a CS degree these days, if you have the aptitude for it (CS requires good math and reasoning skills), you can go do a coding bootcamp for less than a year and land a programming job afterwards. Get your foot in the door, salary might not be great starting out, but get a couple of years of exp and switch jobs a couple of times and you should have no problem breaking $100k if you live in a major metropolitan area.