I think the reasons for learning to code are the same as the reasons for learning to write. When we learn to write, we are learning how to organize, express, and share ideas. And when we learn to code, we are learning how to organize, express, and share ideas in new ways, in a new medium.
Coding isn’t some niche skill. It really is “the new literacy.” It’s the essential 21st century skill that every ambitious person needs to learn if they want to succeed.