In order the AI work fine, I must know how to do the program myself, else how I can instruct it to do it?
you already know how to program because you started before ai was invented. Programmers in the future will probably not want to bother learning how to program if they can avoid it. I would never want my code created by a machine that lacks creativity and just regurgitates whatever was fed to it. Then again I’m a hobby programmer and can program any way I like..
Replace AI with FPC and see how that sounds.
You feed code into FPC. It produces boring machine code based on your input. If you feed it faulty code it rejects it if it can or produces faulty machine code if it can't.
Same with AI tools, you are supposed to be the one with the creatively. You take the time to do some new thing without AI, it may take days or weeks that you don't have, and you never get it done. You spend a couple hours getting over the hump with it with AI, and you are days or weeks ahead of where you would have been without leveraging AI. Does not matter if it is for hobby or professional programming.
Just like many programming languages are not for all programmers, neither are AI programming tools.
As far as programmers now or in the future not wanting to learn programming, that kind of thing is and has always been going on.
Each decade from the 40s it has become easier to learn programming. To level the playing field, I'm talking about those with access to computers and being allowed to program if they wanted.
Many who learned programming as a teenager in the 80s would have no desire to learn programming had they been a teenager in the 40s.
If I was 40 years younger and just starting to learn to program now there is a very good chance my programming knowledge and ability would have grown a much faster rate and I'd be much more of an advanced programmer in my 20s then I actually was in my 20s.
And "very good chance" is not a gamble. I've seen this for junior engineers. Online resources, more comprehensive and robust programming language ecosystems, and tools like AI are accelerators in learning, for those that want to learn.
Just like having a complete set of encyclopedias in my house rather than having to go the Library.
Just like having the Internet rather than having to rely on an outdated set of encyclopedias.
Just as those are accelerators for those that want to be accelerated, so are AI programming tools.
To be arguing against AI programming tools is like arguing against encyclopedias, using arguments like, well, you get more exercise walking to the library.
And that is true, you do get more exercise walking to the library.
Just like you get to beat your head against the wall for days trying to get over the hump on some new thing not availing yourself of AI tools rather than hours availing yourself of them.
Are you better off taking days rather than hours? For me, yes. There have been many things in programming I spent days or hours getting over the hump on, only to realize that was not going to be for me in the long run.
Many other times those were for me in the long run, but a lot of time was wasted learning tools, languages, and libraries that were not going to benefit me in the long run.
I'd rather waste a few hours of my time realizing something is not for me, rather than days or weeks.