What is a Computer Language?

Video: What is a computer language?

What makes a computer language? Why do computers have them? Why are there so many different computer languages?

It isn't necessary to understand the answer to these questions to do basic programming, just like understanding how an engine works isn't necessary to drive a car. However to progress to an advanced level it is. This chapter provides a brief explanation to get started with.

Short History of Programming

Computers are electronic, and they are digital. To a computer everything is in terms of no voltage potential along a wire, or some voltage available. No voltage means a zero to the computer, and some voltage means a one. Computers can't actually count higher than that without combining multiple ones and zeros.

In the early days, switches were used to load ones or zeros into computer memory. Figure fig.altair, courtesy of Wikimedia Commons, shows an Altair 8800. The front panel switches were used to load in the program. The lights showed the output. There was no monitor.
Fatal error: Uncaught ArgumentCountError: Too few arguments to function figure(), 4 passed in /var/www/datas/dossiers_personnels/sebastien/Projets/Projets Python/programarcadegames.com/traduction/03_what_is_a_computer_language.php on line 29 and exactly 5 expected in /var/www/datas/dossiers_personnels/sebastien/Projets/Projets Python/programarcadegames.com/traduction/header_test.php:113 Stack trace: #0 /var/www/datas/dossiers_personnels/sebastien/Projets/Projets Python/programarcadegames.com/traduction/03_what_is_a_computer_language.php(29): figure('fig.altair', 'chapters/02_wha...', 'Altair 8800', 100) #1 {main} thrown in /var/www/datas/dossiers_personnels/sebastien/Projets/Projets Python/programarcadegames.com/traduction/header_test.php on line 113