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

ChatGPT and the like could free up coders to new heights of creativity

Computer code on a screen is reflected in a woman's glasses
Assistance from AI will allow programmers to see computer code anew. Photograph: Science Photo Library/Alamy

When digital computers were invented, the first task was to instruct them to do what we wanted. The problem was that the machines didn’t understand English – they only knew ones and zeros. You could program them with long sequences of these two digits and if you got the sequence right then the machines would do what you wanted. But life’s too short for composing infinite strings of ones and zeros, so we began designing programming languages that allowed us to express our wishes in a human-readable form that could then be translated (by a piece of software called a “compiler”) into terms that machines could understand and obey.

Over the next 60 years or so, these programming languages – with names such as Fortran, Basic, Algol, COBOL, PL/1, LISP, C, C++, Python – proliferated like rabbits, so that there are now many hundreds, perhaps even thousands, of them. At any rate, it takes quite a while to scroll down to the end of the Wikipedia page that lists them. Some are very specialised, others more general, and over the years programmers created libraries of snippets of code (called subroutines) for common tasks – searching and sorting, for example – that you could incorporate when writing a particular program.

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.