Member-only story
Programming as a secondary language
Recently, a friend asked what languages I spoke. Dutch, English, a passable amount of German. “And programming languages!”, she remarked. I was quick to respond that I didn’t see it that way, since virtually every programming language I work with consists at least for a big part out of English words.
Thinking about it, however, programming languages do have quite some commonalities with natural – spoken – languages:
Grammar
Like a natural language, each programming language has a grammar. You might not think about it that way, since we usually refer only to syntax while taking about the structure of a programming language, but syntax is of course part of grammar.
The difference between the grammar of a natural language and a programming language is that programming languages can be seen as more strict. Whereas the grammar of a natural language allows you to express a certain sentiment in a lot of different ways, in most programming languages, such a statement can usually only be expressed in a very limited amount of ways.
In motion
Just like natural languages constantly change to adjust to its users and usage, so do programming languages. Although this process is usually more structured – programming languages often have version numbers that show what features of the language are available in that particular version – this process is also fuelled by its users, who often will propose changes that might be…