I am an electrical engineering student, so i might have some good background in low level things like 68k Assembly and the rest, but since the market for electrical engineers is dead, i learnt programming alone, i picked a language first (C in my case), tried to learn it well, and made some toy programs with it (nothing serious), and then i started exploring other languages, hoping to fall in love with one of them (didn't happen :( ), and then started with Algorithms and Data structures (Skiena's Book and lectures)[1], as it teaches you things that are really essential in CS, beside that you need to learn about OSs, Databases ... etc, to have a good foundation in CS, I personally know a lot of people who did great job as programmers, and didn't do any of this, but that's my perspective on how things should go , best of luck
[1](https://www.youtube.com/watch?v=ZFjhkohHdAA&list=PLOtl7M3yp-...)