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:
Like a natural language, each programming language has a grammar. You might not think…