Back to writing

Why learning programming is still relevant in 2027

AI can write the code. Someone still has to know what to ask for, and whether the answer is right.

A person in glasses, hand on chin, studies a code window. A faint robot head looks on, and lines lead from the code to a tick, a warning, a padlock and a database.
Image © 2026 Chiranjit Karmakar. All rights reserved.

Describe a login page to an AI tool and you get one back in about a minute. If you are thinking of learning to program, it is fair to ask why you should spend months on something a machine does that fast.

I think you should still learn, but the old reason has gone. Knowing the syntax used to be worth something by itself. Now the typing is cheap, and the value is in the decisions around it.

Take money. Ask for a budget app and you may well get amounts stored as decimal numbers. It looks fine, and it passes a quick test. But in JavaScript, 0.1 + 0.2 gives 0.30000000000000004, and a total that adds up thousands of entries can drift. In my budget tracker every amount is a whole number of paise, so ₹20.50 is stored as 2050. The code for that is tiny. What you need is to know there is a problem at all, because you can’t ask for a fix to something you have never heard of.

Or take a chat message. When should the app say it was delivered? When it was sent, when the other computer received it, or when that computer saved it to disk? All three can be coded in minutes, and all three look identical until somebody pulls the power cable. Roomie, my LAN messenger, writes each message to disk before acknowledging it. That was a decision about what the word “delivered” promises. A tool can suggest one, but someone has to choose it and answer for it.

Most real work looks like this. The requirement arrives unclear, and you find out what it means by building it. Programming is where you practise that: breaking a vague wish into exact steps, asking what happens when the list is empty or the network drops, and checking whether you were right.

AI makes this more necessary. When you wrote every line yourself, you at least knew what you had written. Now you can own a thousand lines you have never read. If they break, you can paste the error back and hope, and often that works. When it doesn’t, the only way forward is to read the code and reason about it, and you can’t read a language you never learned.

Security makes the gap wider. Code that works and code that is safe look the same in the browser. A page that shows a user’s order can be perfect in the demo and still show anyone’s order to whoever changes the number in the URL. You only catch that if you know the server has to check who is asking.

There is an honest case against learning. If all you want is a simple page for a shop, or a script to rename some files, you may not need to become a programmer any more, and that is a good thing. Nor is knowing a framework a guarantee of a job. Copying a tutorial project was never much of a skill, and it is worth less now.

So learn the parts that last. How a browser and a server talk. How data is stored, and what makes it wrong. What a function, a loop and a promise really do. How to read an error message slowly. How to debug by testing one guess at a time. Frameworks will change around these, and so will the AI tools.

And use AI while you learn, with one rule: try first. Struggle with the problem for a while, then ask. Have it explain your bug before it fixes it. When it gives you code, close the window and write it again yourself. If you can’t, you haven’t learned it yet, you have only seen it.

A calculator didn’t remove the need to understand numbers. It just meant you could get a wrong answer faster if you didn’t know which buttons to press. Programming in 2027 is much the same. The machine can write the code, and it helps a great deal to be the person in the room who can tell whether it should run.