>I think I want to swap out philosophy for learning to code.
I always laugh when I see that. I don't know why you think that learning how to code will solve any of your problem. I've been coding since I was 18, I'm 28 now and my life is still shit. Also you don't magically learn how to code in a week by following an online course. It takes years of doing mediocre things before you have really good coding skills. And people won't hire you based on your coding skills unless they are very good.