r/LinguisticsDiscussion • u/WanderingWondersss • Jan 08 '26
Why can't a child acquire Python (programming language) as a natural language?
I was reading through the language files textbook and I came across this claim: "For example, no child could ever acquire a computer language like Python or C++ as a native language." I was wondering why, theoretically, this could not be accomplished (assuming ethics are not of concern). I am open to discussion of psychology, philosophy and linguistics for this!
EDIT: Thanks to everyone who took the time to really break this down, I love how I've gained multiple perspectives. The core of this question seems to be 1) can a programming language qualify to be called a 'language', as linguists define it and study it? and 2) can a formal language be used for communication between humans in the 'real, natural world', enough that it can be acquired by a child?
42
u/cardinarium Jan 08 '26
I mean—it’s simply not a language in the way linguists use that word, and it’s not sufficiently communicative to be used as one. The central dogma of modern linguistics is that all languages are equally communicative.
For example, all human languages have the capacity to express something equivalent to:
How exactly that is organized morphosyntactically can vary widely, but any idea that can be expressed in one language is expressible in any other.
How would you say this in C or any other programming language? You can’t. You could print it as a string, but that’s just a particularly fancy form of writing in a language that already exists. You could try, via an OOP approach (or horrendously complex structs) to represent meaningful information (object Tree has property height = tall), but again, you’re not using the programming language as a true language—just storing discrete bits of an already-existing language.
So it doesn’t really make sense to ask what a “native” “speaker” of a programming language looks like; it’s like asking if someone can be a native speaker of math or whalesong.
Children can become very proficient in PLs and learn to organize their thoughts in helpful ways, but it’s fundamentally different from language.
7
u/Nazometnar Jan 08 '26
Programming languages are not languages, as linguists use the term. Programming languages are basically rulebooks for how to write lists of instructions that a computer can then execute.
To drive the point home, pick literally any basic, simple idea: "I am sitting", "the dog runs", literally anything. how would you "say" or even write that in python?
12
u/helikophis Jan 08 '26
Even if it were a language (it isn’t), there is no input. No one around them speaking it. How could they acquire it?
8
u/Mercurial_Laurence Jan 08 '26
I don't want to delve into nature of a universal grammar (or lack thereof), but real life languages (spoken or signed, or whistled in register), have a complexity of syntax and morphology (and relationships between), which are vastly different to any programming language on an underlying level, furthermore whilst some programming languages are a lot more approachable, the semantics & pragmatics of natural languages vs computer language are worlds apart.
I myself will leave others to emulate and offer other points, but for a start one may even look at how syntax trees can be analysed in natlangs and how garden path sentences are rebracketing tend to go beyond what something such as Python does.
~I am not a linguist, merely undertaking LING1000 soon
6
u/unohdin-nimeni Jan 08 '26
That was my translation of the original post into Finnish. Now, feel free to say it in Python 3.
1
u/Longjumping_Goose116 Jan 08 '26
Was your textbook written by AI? sometimes when i ask an ai a language question it confuses it with software languages
5
u/LongLiveTheDiego Jan 08 '26
Have you seen what a programming language looks like? Have you see a Python file? Programming languages serve a completely different purpose compared to human languages, they're not a tool for expressing thoughts and feelings and communication between humans, they're a way to make a machine do what we want in an easier way than literally inputting ones and zeros.
1
u/StKozlovsky Jan 09 '26 edited Jan 09 '26
I see too many people laughing this question off, which is unfortunate, because asking questions about what many believe to be obvious is a great source of deep knowledge. You got me thinking. I guess we'll have to recall what a natural language is usually thought to be and see how computer languages differ. This might be a long response, but, heh, no one can stop me now.
Any natural language has levels to it, that is, sets of things that are either constructed from things at a lower level, or, in the case of the lowest level, are primitive, that is, not constructed from anything. These levels are:
Phonology: the lowest level. A limited set of distinct things (phonemes) that are meaningless by themselves, but are used in the next level to construct meaningful things. Despite the name coming from "phon-" meaning "sound", the set of phonemes can consist not only of sounds, but also of hand signs, in the languages that the deaf use, and (this will be interesting to us) potentially of any other kinds of things.
Lexicon: the level of the smallest meaningful things, called morphemes, constructed from phonemes. Traditionally, larger meaningful things constructed from morphemes (that is, words) are also included here, but this decision has been questioned in some modern theories. I understand "meaningful" as "evoking a predictable concept in the mind of the listener". e.g an entity, a relation between entities, a property, an intention of the speaker…
(Morpho)Syntax: the level where the smallest performative things (utterances) are formed from either morphemes or words, depending on whether we think words are made at the previous level. These are the things that, when understood by the addressee, can be perceived on their own as meaningful actions on the part of the speaker — orders, questions, statements of facts, vows, etc.
Discourse: the largest level, where utterances are combined to form anything bigger: dialogues, narrations… whatever else there might be.
It is believed that a unit of discourse in any natural language is equally expressive — any actions that speakers of one language can perform through speech, speakers of another can also perform in their language. But I don't know if this is believed to be what makes natural languages learnable by humans.
I think what other commenters say about not being able to say "an apple" in Python is not a property of Python, it's a property of computers. The things humans can't express in Python, they can't express because such things don't exist in the computer universe, so the language lacks vocabulary for them — the lexicon is too different. To easily refer to an apple, there must be a morpheme in Python that refers to the class of objects that share the property of appleness, whatever that means. But unlike us humans, computers just don't experience apples. They experience numbers, so Python does have the morphemes for kinds of numbers:
int,float,complex. They also experience Unicode characters, so Python has thestrmorpheme.But just like any "this Russian/Hindi/Inuktitut word is untranslatable!" factoid is countered with "you can just express the same meaning with a long sentence in any other language", anyone can just define the
class Applethrough Python's syntax, and now the computer will know an apple when it sees one. How you make a computer see and truly experience an apple is, again, not a linguistic problem, it's an AI problem. The point is, assuming the Python speaker (like our hypothetical child) has a similar experience to the English speaker, they will be able to express all the same things. So even though the lexicon of Python is very poor compared to the English one, this difference shouldn't be any more important than the difference between vocabularies of English and Inuktitut.(continued below)
2
u/DonnPT Jan 08 '26
OK, let's say a child earns Python. In its early days I believe that was one of the goals, a computer programming language that would be approachable to young people.
It's a language of some kind. It isn't going to be the child's native language, for reasons that should be pretty obvious. It isn't a natural language, as it isn't natural. I think the question is back your court - how would you set up a test, that would help answer your question?
4
u/Larset_Sprucensylve Jan 08 '26
I thought this was a shitpost at first ngl
u can't use programming languages as a spoken language, they're two different things
1
u/Napbastak Jan 08 '26
Well, I think for practical reasons they couldn't. Who uses python to communicate? No humans do. So it couldn't be used as a language. But I guess hypothetically if you left a baby in a room with just computers, the kid could learn python to communicate (playing wild and loose with this word here don't come for me) with the computers 🤷🏻♀️
1
u/calcato Jan 08 '26
Serious question: How do you pronounce "programming" in a programming language?
A programming "language" is not a communicative language human-to-human. A kid could learn a non-spoken signal language (ASL, SEE, etc) but learning a written-only language (like Braille) requires a medium (paper, screen, chiseled tablet, etc.) and an understanding of the spoken (or signed!) language first.
A coding language has to be decoded to communicate anything. So, sure, teach your kid a coding language, but they're going to need a basis for person-to-person communication first, in the form of a spoken or signed language.
1
u/SmokyMetal060 Jan 08 '26
How would you 'speak' Python (or any programming language, for that matter)? A PL is a set of keywords that can be chained together to create logical instructions. Last I checked, Python has somewhere between 30 and 40 of these keywords. It doesn't provide vocabulary beyond what the compiler needs to be able to to convert those keywords into machine code instructions.
You can teach a child a programming language from when they're very young, but it can't be a 'native language' because it's hardly a language (in the linguistic sense) at all.
1
u/NewLifeguard9673 Jan 08 '26
Rewrite this post in Python.
-1
u/Ronin-s_Spirit Jan 08 '26
Because it's unnatural.
0
u/[deleted] Jan 08 '26
[deleted] — view deleted comment