>>11928242Programming is highly automated already. It just so happens that the way you drive the automation is by writing (different, less) code. A programming language can be seen as a form of automation.
Much of the difficulty in programming is in unambiguously specifying exactly what you want to happen. This is the necessary complexity, that you can't really eliminate. To automate it with AI you'd need an AI that really understands the human tasks the software is for and can negotiate with the people that are going to use the software. That's starting to sound like AGI, so if you can automate that then you can probably automate most other jobs as well.
You also need to end up with a program you can debug, because there will be bugs, and sometimes they're not even the programmer's fault. Anything short of an AGI isn't always going to be able to dig into the nitty-gritty and figure out what went wrong without a human.
Until that point I don't think further useful automation is going to make programming look very different from what it is today. It may become even easier and take even less work, but you still need a human programmer in the loop at some point.
Do learn programming, it won't become obsolete any time soon. It may become less lucrative, of course, but that doesn't matter as much if it's a tool you use for your job rather than the core of your job.