Get all your news in one place.
100's of premium titles.
One app.
Start reading
The Guardian - UK
The Guardian - UK
Comment
John Naughton

MYSTERIOUS: Computers can write their own code so are programmers now obsolete - What They Never Told You

Blurred male computer programmer on the background, thinking while programming or coding using a laptop inside an office at night with reflected codes<br>2A2X5EP Blurred male computer programmer on the background, thinking while programming or coding using a laptop inside an office at night with reflected codes
Coders will soon rely on software to assist them with their work. Photograph: Marcelo Mayo/Alamy

I studied engineering at university and, like most of my contemporaries, found that I sometimes needed to write computer programs to do certain kinds of calculations. These pieces of utilitarian software were written in languages now regarded as the programming equivalent of Latin – Fortran, Algol and Pascal – and what I learned from the experience was that I was not a born hacker. The software I wrote was clumsy and inefficient and more talented programmers would look at it and roll their eyes, much as Rory McIlroy might do if required to play a round with an 18-handicap golfer. But it did the job and in that sense was, in the laconic phrase sometimes used by the great computer scientist Roger Needham, “good enough for government work”. And what I took away from the experience was a lifelong respect for programmers who can write elegant, efficient code. Anyone who thinks programming is easy has never done it.

All of which goes to explain why I sat up when, last year, someone realised that Codex, an offspring of GPT-3, a large neural network trained on vast troves of text gathered from the web that could generate plausible English text, could write apps, ie, short computer programs including buttons, text input fields and colours, by remixing snippets of code it had been fed. So you could ask the program to write code to do a simple task – “make a snowstorm on a black background”, for example – and it would write and run the necessary code in Javascript. In no time at all, there were tech startups such as SourceAI aimed at harnessing this new programming tool.

Sign up to read this article
Read news from 100's of titles, curated specifically for you.
Already a member? Sign in here
Related Stories
Top stories on inkl right now
One subscription that gives you access to news from hundreds of sites
Already a member? Sign in here
Our Picks
Fourteen days free
Download the app
One app. One membership.
100+ trusted global sources.