The full answer
Is it worth switching careers to programming?
The short answer: it depends more on you than on the market
It's worth it when two things are true: you like solving problems by building things and you're up for practicing often for months before anyone pays you for it. Without them, no salary promise will hold the change together.
You can find out early and cheaply, without quitting or buying an expensive course: write real code, make mistakes, fix them and see if you want to come back the next day.
Is it still worth it in 2026, with AI writing code?
AI changed the job: it writes whole chunks of code in seconds, and beginners feel the bar went up. Pretending otherwise would be dishonest.
But generated code needs someone who understands what it does, finds the bug and decides what to build. People who master the basics use AI as a tool; people who don't end up depending on it.
How to test it before dropping everything
Keep your job while you learn and decide calmly. What helps you keep going in the first weeks:
- A little a day: a few minutes daily go further than one Saturday a month.
- Quick feedback: write, see if it worked and fix it.
- A small, concrete goal, like publishing your first page: it becomes the first item in your portfolio.
- Learning outside the classroom is the common path: in 2024, 82% cited online resources in the Stack Overflow Developer Survey.