I have a formal education in programming, I think there is no equivalent in the US for this. It is below a bachelor degree but takes 3 years to accomplish. And now I am rather unemployed and live from social welfare than continue doing this shit. Coding really is the worst job ever. You are always stressed because there is no finish line. You develop bad posture because of sitting. You have to deal with the spaghetti code of other people and most of the time you are not even programming but try to understand something that somebody should had documented. You also have no agency and you are literally just a cog in the machine, but normal cogs are ghetting told exactly what and how they have to do. But as a programmer you always have tho figure this out for yourself. Not by reading some manual or the current ticket, but by mindreading what the ticket writer wants from you and by experimenting with your total abstract inhumane virtual machine.
And then comes AI. No AI won't make codes unemployed. This idea is so delusional and comes from people who have no clue about how software development works. In reality AI won't make it easier but way harder to do this job. Because it automates the easy parts and these are the parts the junior developer once did to grow their skills. Now that everybody leverages their skill by using ai, the stack of requirements for being a good developer increases. You still have to master the basics but they expect you to outsource them to AI, so that you can focus 9-5 on the very disturbing, mind fucking tasks, that drain on you. And to even get there you have to master the basics in your free time. And the better AI becomes, the more stuff is considered as basic stuff that's done by AI, and the more hardcore the hardcore stuff becomes you as a developer have to deal with. But this is only if AI makes no mistake. Have fun debugging thousands of lines of code, that are ai generated and already implemented in the working system and only drop an error every few months. What you do now? Oh yeah, lets create a workaround to blow up the spaghetti code even more.
Modern software development is an evil shitshow. You rather work at construction. That gives you a nice healthy body, good sleep and you can use your mental capacity to do some creative stuff after work. That's way better than getting drained mentally and degenerated phyisacally at work like coders do.
If you are a nerd and you love doing this, then do it. But if you just wanna have a job, then this is the path to suffering.