A lot of the articles you see floating around about "the end of programmers" are written by people who think software is designed by managers, which is only true in workplaces that you would not want to be in. If you can independently design and implement software, then you can work at a company that treats programmers like craftsmen, which is more rewarding both mentally and monetarily.
That said, the tech industry tends to move faster than undergrad currriculae. It's likely that any specific technologies you learn in school are already obsolete[0]. Focus on the fundamentals (CS as a subdomain of mathematics) and you'll find your knowledge has a much longer shelf life.
[0] When I was in university, the more "vocational" classes offered by the CS department tended to teach libraries and languages that had already fallen into disuse outside. Things like OpenGL immediate mode when the world had moved to shaders, or CVS when everyone used SVN and Git had been just released.