# Programming Language Basics

> What a programming language is, and why there are hundreds of them. High and low level code, and assembly, the one closest to the chip.

**Course:** [Programming Languages](https://learn.benibix.com/learn/development-languages)  
**Time:** 10 min

**After this lesson you can:**

- Say what a programming language is for
- Tell high-level code from low-level code
- Explain what assembly language is

## What a programming language is, and why there are so many

A programming language is a set of words and rules for telling a computer what to do. The chip itself only runs machine code, which is long runs of numbers. A language lets people write in words. Then a tool turns the words into those numbers. There are hundreds of them, and a few dozen are in wide use.

Languages sit on a scale. A high-level language is close to plain words and hides the machine's details. Python is one: print("Hi") shows text, and you never think about where in memory it goes. Most code written today is high level, because it is quicker to write and easier to read.

A low-level language is close to the machine. You manage memory yourself and think about what the chip is doing. That is more work and easier to get wrong. In return, the program can be very fast and very small, which matters inside a phone, a car or the core of an operating system.

The lowest you can go and still write words is assembly language. Each line is one tiny order for the chip, such as copy this number or add these two. Each chip family has its own, so assembly written for a laptop chip will not run on a phone chip. Few people write it by hand today.

So why so many languages? Each one was made to make some job easier. One is built for web pages, one for phone apps, one for statistics, one for code that must never crash. Every language trades something away to be good at its job. No language is best at everything.

This course is a tour of those trade-offs and of the main languages. It assumes you know what a variable, a loop and a function are, since every language here has them. It stops at the languages. How to shape a large program, with objects or with pure functions, is a separate subject.

People often think the first language decides their whole career. It does not. Once you know one language well, the second takes weeks, not years. The ideas carry over, and mostly only the spelling changes.

![A ladder of four rungs from words down to the chip. At the top, Python: print("Hi"). Then C, a little closer to the machine. Then assembly: one small order per line, such as mov and add. At the bottom, machine code: rows of 0s and 1s that the chip runs. An arrow up the side is marked easier to write, and an arrow down is marked more control.](https://learn.benibix.com/diagrams/lang-levels.svg)

### Example: Emma's thermostat and her website

Emma writes the code for a heating control box. Its chip has just 32 kilobytes of memory. She picks a low-level language, so she controls every byte.

The same week she builds the thermostat's website in a high-level language. There, memory is not a worry, and she finishes the page in 2 days instead of 2 weeks.

**Words in this lesson:** [Programming Language](https://learn.benibix.com/term/development/programming-language), [High-Level Language](https://learn.benibix.com/term/development/high-level-language), [Low-Level Language](https://learn.benibix.com/term/development/low-level-language), [Assembly Language](https://learn.benibix.com/term/development/assembly-language)

**Question:** What do you gain and lose with high and low level code?

**Answer:** High-level is easier to write, low-level gives more control. A high-level language hides the machine, so it is quick to write. A low-level one shows the machine. You get to control memory and speed, but it takes more work.

---

Source: https://learn.benibix.com/learn/development-languages/programming-language-basics
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-19
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
