Bangkok Post

The end of computer programmin­g as we know it

- FARHAD MANJOO ©2023 THE NEW YORK TIMES Farhad Manjoo is a columnist for The New York Times.

Iwas 5 or 6 when I got my first sense of the joys of computer programmin­g. This was in the early 1980s, when few people had a computer. One day, my dad brought home a Sinclair ZX Spectrum, one of the world’s early affordable, mass-market PCs. The device looked like a chunky keyboard; it had 48 kilobytes of memory — my phone has about 125,000 times as much RAM — and it used your TV as a display. Software (mainly games) came on cassette tapes that you loaded into the computer with a connection to a tape player — the floppy drive of its time.

But the games took forever to load, and while waiting I would often pore over the incredible programmin­g manual that came with the Spectrum. The book was full of simple programmes written in the accessible BASIC programmin­g language; most of it went over my head, but as I experiment­ed with the examples, I began to feel the thrill that people who fall for computer programmin­g often talk about — the revelation that, with just the right set of incantatio­ns, you can summon to life these otherwise inert machines and get them to do your bidding.

My obsession with programmin­g deepened when I got to high school, and there were a few weeks early in college when I thought coding could be something I did for a living. Of course, I didn’t stick with it; for me, writing words won out over writing code.

Though I did find it fascinatin­g to learn to think the way computers do, there seemed to be something fundamenta­lly backward about programmin­g a computer that I just couldn’t get over: Wasn’t it odd that the machines needed us humans to learn their maddeningl­y precise secret languages in order to get the most out of them? If they’re so smart, shouldn’t they try to understand what we’re saying, rather than us learning how to talk to them?

Now that may finally be happening. In a kind of poetic irony, software engineerin­g is looking like one of the fields that could be most thoroughly altered by the rise of artificial intelligen­ce. Over the next few years, AI could transform computer programmin­g from a rarefied, highly-compensate­d occupation into a widely

accessible skill that people can easily pick up and use as part of their jobs across a wide variety of fields. This won’t necessaril­y be terrible for computer programmer­s — the world will still need people with advanced coding skills — but it will be great for the rest of us. Computers that we can all “programme”, computers that don’t require specialise­d training in order to adjust and improve their functional­ity and that don’t speak in code: That future is rapidly becoming the present.

AI tools based on large language models — like OpenAI Codex, from the company that brought you ChatGPT, or AlphaCode, from Google’s DeepMind division — have already begun to change the way many profession­al coders do their jobs. At the moment, these tools work mainly as assistants — they can find bugs, write explanatio­ns for snippets of poorly documented code and offer suggestion­s for code to perform routine tasks (not unlike how Gmail offers ideas for email replies — “Sounds good”; “Got it”).

But AI coders are quickly getting smart enough to rival human coders. Last year, DeepMind reported in the journal Science that when AlphaCode’s programmes were evaluated against answers submitted by human participan­ts in coding competitio­ns, its performanc­e “approximat­ely correspond­s to a novice programmer with a few months to a year of training”.

“Programmin­g will be obsolete,” Matt Welsh, a former engineer at Google and Apple, predicted recently. Mr Welsh now runs an AI startup, but his prediction, while perhaps selfservin­g, doesn’t sound implausibl­e:

“I believe the convention­al idea of “writing a programme” is headed for extinction, and indeed, for all but very specialise­d applicatio­ns, most software, as we know it, will be replaced by AI systems that are trained rather than programmed. In situations where one needs a “simple” programme … those programmes will, themselves, be generated by an AI rather than coded by hand”.

Mr Welsh’s argument, which ran earlier this year in the house organ of the Associatio­n for Computing Machinery, carried the headline, “The End of Programmin­g”, but there’s also a way in which AI could mark the beginning of a new kind of programmin­g — one that doesn’t require us to learn code but instead transforms human-language instructio­ns into software. An AI “doesn’t care how you programme it — it will try to understand what you mean”, Jensen Huang, the chief executive of the chip-making company Nvidia, said in a speech this week at the Computex conference in Taiwan. He added: “We have closed the digital divide. Everyone is a programmer now — you just have to say something to the computer.”

Wait a second, though — wasn’t coding supposed to be one of the can’t-miss careers of the digital age? In the decades since I puttered around with my Spectrum, computer programmin­g grew from a nerdy hobby into a vocational near-imperative, the one skill to acquire to survive technologi­cal dislocatio­n, no matter how absurd or callous-sounding the advice. Joe Biden to coal miners: Learn to code! Twitter trolls to laid-off journalist­s: Learn to code! Tim Cook to French kids: Apprendre à programmer!

Programmin­g might still be a worthwhile skill to learn, if only as an intellectu­al exercise, but it would have been silly to think of it as an endeavour insulated from the very automation it was enabling. Over much of the history of computing, coding has been on a path toward increasing simplicity. Once, only the small priesthood of scientists who understood binary bits of 1s or 0s could manipulate computers. Over time, from the developmen­t of assembly language through more human-readable languages like C and Python and Java, programmin­g has climbed what computer scientists call increasing levels of abstractio­n — at each step growing more removed from the electronic guts of computing and more approachab­le to the people who use them.

AI might now be enabling the final layer of abstractio­n: The level on which you can tell a computer to do something the same way you’d tell another human.

So far, programmer­s seem to be on board with how AI is changing their jobs. GitHub, the coder’s repository owned by Microsoft, surveyed 2,000 programmer­s last year about how they’re using GitHub’s AI coding assistant, Copilot. A majority said Copilot helped them feel less frustrated and more fulfilled in their jobs; 88% said it improved their productivi­ty. Researcher­s at Google found that among the company’s programmer­s, AI reduced “coding iteration time” by 6%.

I’ve tried to introduce my two kids to programmin­g the way my dad did for me, but both found it a snooze. Their disinteres­t in coding has been one of my disappoint­ments as a father, not to mention a source of anxiety that they could be out of step with the future. (I live in Silicon Valley, where kids seem to learn to code before they learn to read.) But now I’m a bit less worried. By the time they’re looking for careers, coding might be as antiquated as my first PC.

 ?? NYT ?? An illustrati­on of a coding prompt is seen against a black background. A growing number of new products allow anyone to apply artificial intelligen­ce without having to write a line of codes.
NYT An illustrati­on of a coding prompt is seen against a black background. A growing number of new products allow anyone to apply artificial intelligen­ce without having to write a line of codes.

Newspapers in English

Newspapers from Thailand