Thanks for posting! To answer your academic questions you won't necessarily have to sacrifice interest in one field to study another. The reason is because the majority of undergraduate degrees allow for "elective" courses and you can take a variety of courses to fulfill the elective course requirements. Plus, every undergraduate program will have General Education courses you'll be required to take and it's rate to NOT find a psychology course built into the degree plan.
You may be interested to know that SUNY Oswego offers a Bachelor of Science in Software Engineering with an available minor in Cognitive Science (which, in simple terms, is the study of the mind). You can find that program here:
Another example is Mercy College which offers a B.S. in Computer Science. By the way, search for Computer Science degrees and not just "software programming" to expand your options. You'll still be able to take programming courses.
The Mercy College General Educational requirements includes the possibility of taking a psychology course and you also get 13 hours of "open electives" where you can take more psychology courses if you'd like:
Of course, you can look at this from the opposite view as well. At CUNY Brooklyn you can major in Psychology and then minor in Computer Science:
One thing to remember is that if you select a minor it usually adds to the credits required to earn a degree which can result in both extra time and tuition, but it does have its benefits because you'll have intensive study in two separate fields.
Also, remember that just because you major in (insert major here) doesn't mean you are necessarily tied to that career field forever. My former manager was majored in Philosophy at Notre Dame and now works as an Operations Analyst (a very technical field for a very non-technical major like Philosophy). It doesn't hurt, though, to check out career fields that are expected to grow (which means greater job security). You can find this information on the Bureau of Labor Statistics site by reviewing the Occupational Outlook Handbook:
This well tell you what the employment outlook is like, provide you with salary information, etc. I hope this information helps and please continue to respond on this forum if you have more questions.