Pagine

venerdì 20 ottobre 2017

From coding to Borges

by Enrico Nardelli

(versione italiana qua)

As schools and universities resume their activities this autumn, the idea that coding (that is, computer programming) is the new English is gaining ground across the education system.

Bocconi University led the way, making a programming exam compulsory for all undergraduate students. More than three years ago I criticised the linguistic laziness of using an English term in place of its Italian equivalent. I was neither the first nor the last to do so, but I want to reiterate that using our own language means upholding our social and cultural identity. And identities matter for respecting differences. Biology and physics have been teaching us for millions of years that richness in systems emerges only from differentiation.

Several newspapers picked up and amplified this concept — communicatively very simple, but conceptually entirely wrong — and called for the introduction of coding in schools as well. I will explain briefly why this framing is mistaken.

Since computer programming consists of giving instructions to a computer, it can seem as though learning a programming language is the same as learning a new language. Just as it makes sense to learn Chinese or English given that around a billion people speak each, so — with several billion technological objects in the world that are computers — it seems useful to learn "the language of computers."

The problem is that language is merely the tool through which thought is expressed. Not being a linguist, I will not weigh in on whether the Sapir-Whorf hypothesis (the idea that spoken language shapes the speaker's cognitive system) is true or not. But it is perfectly clear to everyone that what determines the success of an entrepreneur or a professional is not so much knowing English as their skills and abilities in their specific field.

Knowing a programming language is therefore not enough to understand the digital world. It is an illusion to think otherwise. Just as a linguistic expression is only a representation of thought, so a computer program is merely the form through which we give concrete shape to "the way a computer scientist thinks" — that is, computational thinking.

What should therefore be taught, in schools even before universities, is the discipline that fosters the development of this way of thinking — that is, informatics. This is necessary for understanding the scientific foundations of the digital world, and for navigating today's society in a more informed and competent way.

However, the loyal reader — or the critical one who asks "let's see what Nardelli has written on this subject" and does a little research — might object: "but you yourself have spoken of computational thinking as a new language for describing the world and of Informatics: the new Latin that everyone loves. Aren't those languages?"

Human communication is, unfortunately, extremely slippery terrain. An expression can in some cases be a chisel that carves exactly the desired profile, but in others it can take on entirely different meanings. The latter can be an advantage that makes it possible to achieve broad consensus, but it becomes a weakness when it comes to establishing shared foundations and agreeing on common action. The world of scientific knowledge uses mathematical language precisely because it is the only one that brings only benefits, without drawbacks. In communication between people, there is no alternative to calm, reasoned discussion.

In those earlier articles I used the term "language" in the sense in which "mathematics" is often used to denote a "language" capable of describing quantities and relationships with absolute precision. To use somewhat philosophical terms, I used "language" as a synonym for "epistemological paradigm" — or, in plain words, as a synonym for "a key to reading reality." So when I say that "computational thinking provides a new language for describing the world," I am saying that through it we can describe certain phenomena "as if" they were computations. This does not necessarily mean that they actually are, but informatics offers new and useful ways of analysing and explaining reality. A prime example is the description of biological processes at the molecular level: the mechanism of DNA replication can also be viewed "as if" it were a computation, and this has offered enormous advantages for understanding it. Examples of the usefulness of the informatics approach can also be found in economics and sociology.

Let me return to the importance of teaching "how a computer scientist thinks" from school age onwards, with an example drawn from mathematics. In primary school we teach children "to do sums" — not so much because the goal is to learn that 3×2=6 or 12÷4=3, that is, the times table, but because it is important for children to understand that if 3 girls have 2 sweets each the total number of sweets is obtained by multiplication, while if 12 biscuits are to be shared among 4 girls the number of biscuits per girl is obtained by division. We are not, therefore, teaching an operational tool so much as a key to understanding reality — "mathematical thinking."

And why should it be taught in schools? other readers might ask, pointing out that children today are all digital natives who already speak "the language of computers." I have already explained that what is at stake is not teaching a language but a way of thinking.

Moreover, as Giorgio Israel had already noted, the expression "digital natives" simply refers to those who were born into a digital society. Extending this term to imply an "innate" capacity for understanding that world is one of the pitfalls of communication that we must be alert to — especially when we are talking about the majority of the school-age population, and not letting ourselves be dazzled by the exceptions that most easily find space in the mass media.

Young people, partly thanks to the greater amount of time available to them compared to adults, and to a curiosity that is still very much alive, often manage to surprise us with these devices. Yet without adequate education, their understanding of a technology more complex than anything else ever built by human hands remains only superficial. Ask in schools what the difference is between Google (the search engine) and the Internet, and you will see. Of course, human beings are intelligent enough to navigate the world around them without a complete rational explanation of how it works — but in this case we are not dealing with a "book of nature" that is hard to read, but with an extremely complex technological infrastructure, built by people for people, where the choice is between shaping your own future or having it imposed on you.

Added to this is the difficulty — the result of deliberate market choices by the manufacturers of modern computing devices — of "getting one's hands dirty" to "see what happens if." In the decades following the Second World War, the country's productive fabric was rebuilt partly because enterprising young people could dismantle, study, and reassemble machinery in order to reproduce and improve it. All of this is impossible with today's plug-and-play smart devices, which is one of the reasons why open solutions both at the hardware level (such as Arduino) and the software level (such as Linux) should be the absolute standard for schools.

I will close by observing that it is not only the complexity of technology that eludes so-called "digital natives" and cannot be acquired through a simple coding course. "Thinking like a computer scientist" (to quote Jeannette Wing) — that is, possessing the intellectual tools that remain after studying informatics — is necessary for understanding that the productive automation brought about by informatics (the so-called "digital enterprise") is radically different from traditional industrial automation.

The latter was essentially the replacement of people's physical actions with the power of machines, under the guidance of human cognitive faculties. Digital automation is the replacement of human intelligence with a machine: this is a dramatic paradigm shift that contemporary society has not yet fully absorbed or understood. One of the essential capacities of human intelligence is adaptability to changes in the environment — the flexibility to handle new or modified requirements. People have an innate ability to evolve in response to change and to learn from their mistakes. Computer systems do not.

To borrow a metaphor introduced by Umberto Eco, computer systems are like that "Funes el memorioso" described by Jorge Luis Borges — a character capable of remembering and correlating every last detail of his existence, yet almost incapable of general ideas, of actual thought. In a world where it is no longer necessary to remember, because any piece of information is easily retrievable; where the manipulation of symbols can be repeated at fantastic speed and negligible cost — the ability to ask the right questions and find innovative solutions is what will make the difference. Informatics (the science, not the technology) is one — though not the only — powerful gymnasium for this. A humanities education is another.

Without either glorifying or demonising the use of digital technologies in the classroom — a complex scenario to be approached with a critical and questioning mindset — it is worth noting that there is scientific evidence that the availability of devices that keep us constantly connected impairs cognitive abilities (the so-called brain drain effect). It is no coincidence that in Silicon Valley — whose inventions have brought the future into the present — the children of the ruling class have for many years now been educated in schools with no smartphones or tablets, but with paper books and laboratories.

--
The original version (in italian) has been published by "Il Fatto Quotidiano" on 17 October 2017.

Nessun commento:

Posta un commento

Sono pubblicati solo i commenti che rispettano le norme di legge, le regole della buona educazione e sono attinenti agli argomenti trattati: siamo aperti alla discussione, non alla polemica.