Skip to content
0
My Cart

Your cart is empty.

TotalR 0,00

Welcome to Catto Learning

Sign in to see your courses, or register to start one.

Two columns: on the left a page of code marked Written by AI; on the right a person with a pen ticks four jobs on a list: ask, check, repair, answer for it.
Web Development

Should you still learn to code now that AI can write it?

Yes, if you want to judge, mend and answer for what AI writes. What the research and South African surveys show, when not to bother, and a free first step.

Published About 9 minutes to read

Yes, it is still worth learning to code if you want to judge, mend and answer for what AI writes. No, if all you need is one simple page. AI assistants now write usable code quickly, and that changes what the skill is for: less typing, and more knowing what to ask for, whether the answer is right and what to do when it is not. You do not have to become a programmer to gain from that. You do have to understand the code well enough to make a decision about it.

What AI already does well

AI assistants can write routine code, explain a line you do not understand, draft tests and make small repairs. In a trial described below, the four people who handed the whole task to an AI assistant were the fastest of those using one, and met few or no errors on the way.

South African workplaces have noticed. OfferZen's 2026 report puts the share of South African tech teams already using AI in their work at 97%, ITWeb reported in April. In the 2026 skills survey of the Institute of Information Technology Professionals South Africa (IITPSA), nearly 80% of practitioners said AI had reduced their workload or made their tasks less complex.

The catch comes from the developers themselves. In Stack Overflow's 2025 survey, 66% named "AI solutions that are almost right, but not quite" as a frustration, and 45.2% said that debugging AI-generated code takes more time. Debugging means finding and fixing faults. A year later, in a survey taken by more than 30,000 people, 48% trusted AI when they could easily validate its answers. Only 16% extended that trust to most tasks that are not important work decisions.

To validate an answer easily, you must be able to read it.

Four jobs AI leaves to you

1. Asking for the right thing

Suppose a bakery wants an order form. "Make me an order form" will get you one. A person who knows how a page works asks for more: a collection date is required, it may not be in the past, and it may not be a Sunday, when the shop is closed. That person also asks for the same checks on the server, the computer that receives the order, because checks in the browser help honest visitors but are not security. Knowing what a page, a form and a database can do is what makes a request exact.

2. Checking what comes back

There are two kinds of bug. An error stops the script and prints a message. A logic bug prints nothing and does the wrong thing: the bakery's page says "open" on a Sunday. Nothing turns red and the page looks finished. Someone has to think of trying it on a Sunday, and then read the decision in the code that got it wrong.

3. Repairing it

Repair is a calm routine rather than a talent: read the message, go to the line it names, print the values the code is working with, and find the cause before changing anything.

The tools can be wrong too. In our full-stack course, a tool that checks code reports 38 errors in a booking system. All but four have one cause, the tool's own misreading of the types of data, and the tests show that the application works. A person has to judge the machine's answer.

4. Answering for it

If your business puts an application online, it is yours. The law firm ENSafrica writes that "liability does not shift simply because AI was involved in the development of an application". Where it holds personal information, section 19 of the Protection of Personal Information Act (POPIA) requires appropriate, reasonable measures to secure it, kept up to date.

The risk is real. Researchers audited 200 publicly deployed applications built with AI agents and found at least one vulnerability in 91% of them. The vulnerabilities were concentrated in three places: who may see what, how the application handles what people type in, and signing in. The study is a preprint, and its summary does not say how the 200 were chosen. The first of those, broken access control, also heads the OWASP Top 10 for 2025, a well-known list of web security risks. A common form of it is simple to picture: change the number in a page's address and someone else's booking appears.

A Wits University opinion piece gives a good rule: AI "must be treated as a junior contributor, not a silent partner".

What happens to your skill when AI does the work

Anthropic, a company that makes AI assistants, ran a randomised trial of 52 mostly junior software engineers who had to learn a Python library new to them. A library is code that others have written for you to use. Half had an AI assistant. In the corrected paper of November 2026, the group with AI scored 15.4% lower on a quiz afterwards, the equivalent of two grade points, and was not significantly faster. The widest gap was on the debugging questions, which are about the very skill you need when AI gets it wrong.

The useful part is how differently people used the assistant:

How they used AIAverage quiz resultPeople
Generated code, then asked questions until they understood it86%2
Asked for code together with an explanation68%3
Asked only about ideas and wrote the code themselves65%7
Handed all the code to AI39%4
Asked a question or two, then handed the rest to AI35%4
Let AI find and fix the faults, again and again24%4

Read it with care. The groups are tiny, the authors draw no causal link between a way of working and a result, the quiz came straight after the task, and everyone already programmed, so it says nothing direct about complete beginners. The pattern still fits common sense: people who kept thinking kept learning, with AI beside them.

66%
Met AI code that is almost right
of developers named it as a frustration, Stack Overflow survey, 2025
15.4%
Lower quiz score with AI
in a trial of 52 developers, paper corrected in November 2026 (preprint)
91%
Had a security weakness
of 200 audited applications built with AI agents, 2026 preprint

The South African job market, honestly

The first step into a technology job has narrowed. In OfferZen's 2026 survey of more than 2,200 software, data and tech professionals:

  • 48% of tech leaders feel pressure to hire more senior engineers.
  • 71% say hiring now focuses on specific, high-impact roles rather than broad growth.
  • 55% call AI fluency and product thinking baseline expectations.
  • 62% of junior developers feel underpaid, against 49% of everyone surveyed.

TechCentral notes that the sample chose itself, leans towards Cape Town and Johannesburg, and is not representative of the country's technology workforce. The direction is echoed elsewhere. In October 2026 the chief technology officer of the Harambee Youth Employment Accelerator said AI was raising the bar for young people entering the industry, because some of the basic work that could help newcomers gain experience is being automated.

There is another side. In the IITPSA survey, released in October 2026, only 6% of practitioners thought they were at high risk of losing their jobs to AI, 27.4% saw a moderate risk, 45.3% a low one and 21.4% none. These are the beliefs of people already in work, in an industry body's own release. The same survey still lists software development among the important foundations, and gives lack of workplace experience as the biggest reason for skills gaps, at 24%.

So learning to code is no ticket to a job, and no course can promise you one. If you are aiming for that first post, have something you built yourself to show, and be able to explain every line of it. OfferZen's tech lead describes what lasts:

"The skills that matter most are the ones AI can't reliably produce: product taste, architectural judgment, and the critical thinking to know when the AI got it wrong."

When you do not need to learn to code

Save your time if any of these is you:

  • You need one simple page or an online brochure, with no orders and no customer details.
  • You have a single task to do once, and you can see for yourself whether the result is right.
  • Someone else will look after the site and answer for it.
  • You dislike finding out why a thing does not work. That is most of the job.

Those who gain most are career changers willing to put in the hours, people who must brief or check developers, business owners whose site takes orders or holds customers' details, and school leavers who want to try coding before choosing a degree.

How much is enough, and how to find out cheaply

You do not have to decide about everything at once. Our web development path has 34 modules and takes about 510 hours in all. You can stop at any stage:

In these courses you write the code yourself. They do not teach AI coding tools. If you use an assistant while you learn, work like the people at the top of that table: ask it to explain. The founder of KRS, a South African software company, advises juniors to use AI as a learning aid, "But never accept anything from AI that you don't understand."

The cheapest test costs nothing. Read Module 1 of Web Development for Beginners free and see whether coding suits you. To do the work you need a computer, because a phone or tablet is not enough for writing code. If it suits you, the bundle takes you from that first page to a full application.

Questions

Will AI replace programmers?
None of the evidence in this article shows that. What it shows is a narrower first step for juniors in South Africa, while experienced people do more with AI. In the 2026 IITPSA survey 6% of practitioners, all people already working in the field, thought they were at high risk of losing their jobs to AI. Nobody can promise you how it will turn out.
Is it too late to start learning to code?
Not if your reason is to understand, check and repair what AI writes, because someone still has to do that. If your only reason is a quick first job, know that the junior step has narrowed, and try a free module before you commit your time.
Can I use AI while I learn to code?
Yes, if you keep doing the thinking. In the trial described above, those who asked AI to explain, or questioned its code until they understood it, averaged 65% or more on the quiz. Those who handed the work over averaged below 40%. The groups were very small. Accept nothing you do not understand.
How long does it take to learn web development part time?
Our beginner course takes about 75 hours, which is five weeks at 15 hours a week. The front-end course takes about 180 hours and the full-stack course about 255. All three come to about 510 hours, or 34 weeks at 15 hours a week. At half that pace, allow twice as long.
Which programming language should I learn first?
For the web, start with HTML, CSS and JavaScript, in that order. They are the three languages behind the websites you use: HTML gives a page its structure, CSS its design, and JavaScript its interactive features. You can see your result in a browser from the first page, so you find out early whether you enjoy it.
Do I need a degree to work in software?
It depends on the employer. In October 2026 the chief technology officer of the Harambee Youth Employment Accelerator said companies should reconsider whether a coding or computer science degree should always be required for certain technology roles. That is a call to employers and not a promise that they have changed.

Where these facts come from

Courses in this article

WEB-101

No experience needed: build a real landing page and publish it on the web in five weeks. A practical first course for complete beginners. Learn how the web works, then build a landing page for a small South African business: its structure in HTML, its design and mobile layout in CSS, and interactive features in JavaScript. Finish by publishing it with GitHub Pages, so you have a live page to share.

Special: save 50%

Level
Beginner
Course Items
37
Price
Was R 5 000,00 now R 2 500,00
WEB-201

Build a real browser app and a published capstone for your portfolio, the way professional teams do. Part 1 of the professional web development pathway. Build responsive, accessible interfaces with modern HTML and CSS, write substantial vanilla JavaScript, bring in live data from HTTP APIs, and manage your work with Git and GitHub, over twelve weeks.

Special: save 50%

Level
Intermediate
Course Items
89
Price
Was R 12 000,00 now R 6 000,00

Know someone who would find this useful?

Send them this article.