One of the great things about learning code today is that the logistical aspect is at least easier than it has ever been before this point. You don’t necessarily have to go back to school for it. In fact, depending upon where you’re going to school, it may not even be cost-effective to go down that route in the first place. You really can just teach yourself coding today, which is at least going to remove some of the barriers involved with learning code.
I recommend taking an online course. A lot of these are free today, but they’re still going to provide some structure in the form of required tutorials and assignments. If you just pick up a book and start reading about the subject, it’s going to be that much more difficult to motivate yourself. Knowing the material intellectually is also not the same thing as knowing how to actually implement it. A good portion of computer programmers know more about the mechanics of computer programming than the theory, which is going to make them better programmers than someone who is simply well-versed in how computer programming works on a theoretical level and what people are supposed to do with it.
Some people might think that they’re going to need a lot of formal education in order to get a job in computer programming, but this is not necessarily the case. Naturally, the people who can program well are going to have an advantage if they also have degrees. However, potential employers ultimately just care that the people in question can do the work. If you’re a good programmer and you can really get the job done, you shouldn’t have any problem finding work.