CURIUM
What is a programming language for?

Programming language

What is a programming language for?

To give orders to a machine. A programming language is an artificial, precise and unambiguous language in which we write the instructions that a computer will execute. Without it, the machine would not know what to do.

TechnologyProgramming

The three levels

Beginner

What is a programming language for?

To give orders to a machine. A programming language is an artificial, precise and unambiguous language in which we write the instructions that a computer will execute. Without it, the machine would not know what to do.

Intermediate

Why are there so many different programming languages?

Because no single language suits everything. Each language prioritises a particular use: speed, simplicity, scientific computing, or web pages. Choosing a language means choosing a compromise between ease of writing, performance and the type of programme intended.

Expert

Should a programme be compiled or interpreted?

It depends on the translation tool more than on the language itself. A compiler first translates the whole program into machine language, which makes it fast; an interpreter runs it as it goes, more flexibly but often more slowly. Many tools mix both approaches.