r/languages • • Jan 08 '15

Do Programming Languages Count as Real Languages?

And if so, does a skilled programmer who can code in many languages count as a hyperpolyglot?

For those confused

0 Upvotes

9 comments sorted by

5

u/potterarchy Jan 08 '15

No, programming languages do not count as "real" languages. They do have some things in common:

  • Arbitrarily-defined words that have the same meaning to all users

  • The ability to create new words

  • Syntax (specific word order required for the language to make sense/the program to work)

  • The ability to describe scenarios out of time, eg, hypothetical ("IF") and future ("THEN")

However, there are some important shortcomings in programming languages:

  • The inability to describe the world around it (programming languages are essentially objects and commands; they cannot be used to describe the beautiful sunrise this morning, or to gossip about celebrities)

  • The inability to describe past events (being a set of objects and commands, programming languages exist in either the present or future)

  • The inability to be spontaneously flexible, to recombine words/alter syntax/create new concepts on-the-fly (while it's possible to flesh out new syntax and create more functions in a programming language, usually small day-to-day mistakes in the syntax will result in error; humans, on the other hand, can freely make mistakes and still be understood, or even recombine words or parts of words - like "-aholic" or "soap opera" - without skipping a beat and having to stop and re-define what they're talking about to their conversation partner)

There are probably a few other key points that I'm missing, but hopefully that answers your question.

1

u/Toxicitor Jan 09 '15

while sunrise==true beautiful=true

How do you think putting dates on files works? you use the programming language to tell the computer it was created then.

Computers cannot interpret language flexible because of their physical limitations. A computer cannot communicate flexibly because it cannot think flexibly. In a conversation with an autistic person, you may have to redefine concepts when you are using a real language flexibly. Additionally, some languages contain gestures and/or non-verbal communication that cannot be expressed properly through the medium of text, while the written form of the language is considered just as valid. Based on the medium and the limitations of your communication, you may have to go to the same lengths programmers must to communicate clearly and flexibly, while using a 'flexible' language. To categorise a method of communication based on the limitations of those who use it seems silly to me.

1

u/matthiasB Jan 29 '15

while sunrise==true beautiful=true

Neither "sunrise" nor "beautiful" have any meaning in a programming language. To understand the intention of your code you need to speak English. To the computer (or anyone not speaking English but knowing the programming language) your code is equivalent to

while bla==true blub=true

BTW, why the fuck would you write == true as sunrise/bla already is a boolean value.

1

u/Toxicitor Feb 01 '15

Sorry about my poor coding skills, I was only ever entry-level python, and I'm also rusty.

As for your actual argument, sunrise and beautiful would have been defined in an earlier line.

1

u/matthiasB Feb 01 '15

They would have been defined as what? The semantic meaning would still solely come from English. Somebody just "speaking" the programming language would still have no clue what this peace of code is about semantically.

1

u/[deleted] Jan 08 '15

No

0

u/Toxicitor Jan 08 '15

So you think a language that a computer speaks isn't a language? After the singularity that will be racist.

1

u/the_calcium_kid Jan 08 '15

I am inclined to believe you are just being a troll

0

u/Toxicitor Jan 08 '15

No, I'm a nerd who wants to be a hyperpolyglot without having to go back to studying japanese.