"Coding" has been around since papyrus was invented. Scribes and bureaucrats have always been upper middle class.
It's just putting data on a medium and communicating information. It's why I'm skeptical on no-code ending coding - the most effective form of communication is code. High level code is shorthand - one of the most efficient things out there is array.map().filter()
We'll have AI writing code in the future, but programmers will just become today's equivalent of project owners and managers. They still need to break down requirements, design, tests, and so on. Until there's AGI, someone needs to talk to the customers and clients.