Skip to content
← All posts

Article3 min read

From The Would-Be Gentleman to the Layman Programmer

Like Molière’s Monsieur Jourdain, who spoke prose without knowing it, we have become able to program without even knowing it. How generative AI turns laypeople into programmers.

By Yves Monsel

Drawing: a 17th-century gentleman in a wig speaks words that turn into code, up to a woman typing a prompt on her laptop
Excerpt from Molière’s The Would-Be Gentleman, in French and English: Monsieur Jourdain discovers he has been speaking prose for more than forty years without knowing it
Le Bourgeois gentilhomme (The Would-Be Gentleman) – Molière

In the 1950s, the first programming languages emerged. Programmed computing says “Hello world”. It set out to model parts of the world, detail by detail, through lines of code. Courageous, not to say stubborn and meticulous, this approach ran into immense difficulties in modelling data that was too variable or incomplete (and scarce). From the 1980s onwards, programmed computing was joined by a little sister built on an entirely different paradigm: connectionist computing. This young field (it began as early as 1957) relied on an imperfect mastery of artificial neural networks, but would soon give them the ability to learn on their own. This evolution of computing is the offspring of a kind of “letting go”, which made it possible to stop modelling the most complex parts of reality line by line. Generative artificial intelligence was about to emerge: an intelligence capable of generating sounds, images and texts that resonate with humans, by letting its neurons organise themselves.

This innovation will lead to a revolution: it gives us laypeople access to computing skills beyond our imagination. Just like Monsieur Jourdain, we have become able to program without even knowing it. Imagine we give ChatGPT 4 the following text (a quote attributed to Elon Musk) and ask it to count its letters:

“I would still like to have more time to meet people. I need a girlfriend. For that, I need to set aside a bit more time. Maybe five or ten more hours — how much time does a woman require in a week? Ten hours maybe? Is that the minimum? I don’t know.”

In Ashlee Vance (2015), Elon Musk: How the Billionaire CEO of SpaceX and Tesla is Shaping our Future, Virgin Books, ISBN 9780753557525, 402 pp.

The AI starts the analysis, and a small arrow lets you watch what is happening.

ChatGPT screenshot: the AI writes Python code to count the letters of the quote and finds 238
From ChatGPT 4

You don’t need to be a computer scientist to understand that this AI turns our questions into a programming language (here, Python) to calculate an answer. It is no exaggeration to say that you have programmed an inference on your data (dating à la Elon Musk) in natural language — “programming in plain English”, as English speakers would say. And the irony is that traditional software developers are learning to work with this new language… just like graphic designers, architects and researchers of all kinds, just like you and me.

Jeremy Howard (who devised an effective training method for AI such as ChatGPT 4) points out with humour that what traditional computing did very poorly (documenting programs, testing them, making them easy to debug and understandable to humans), AI now lets us do very easily. So we can all outdo the good master:

Pastiche of Monsieur Jourdain, in French and English: “By my faith… I’ve been speaking Python without knowing it”
Monsieur Jourdain

Epilogue

We couldn’t resist asking ChatGPT 4 for an answer to Elon Musk’s question…

ChatGPT 4:

If Elon Musk had truly expressed this thought, my response would be guided by the aim of providing a realistic and balanced perspective on relationships. Here is what I could say: “Attempting to estimate the time needed to maintain a romantic relationship can vary greatly from one person to another. There is no fixed standard for the number of hours needed, as each relationship is unique and depends on the needs and expectations of both individuals involved. […] The key is to ensure that the time spent together is quality time and meaningful for both partners.”

Emphasis ours. © 2023 Y. Monsel. All rights reserved.

Related: How?

Other languages: Français · Nederlands