Lesson 1 of 7 · C Foundations · 2 min read · Updated

What is C, and why learn it?

A language from 1972 that still runs your phone, your car, and the internet. Here is why it is worth your time.

C was written in 1972 by Dennis Ritchie at Bell Labs. It is older than almost every programmer using it — and it is still everywhere.

The operating system on your laptop, the firmware in your washing machine, the database behind your bank, the Python interpreter itself: all written in C, or in something C made possible.

Why bother, when easier languages exist?

  • It shows you the machine. Python hides memory from you. C does not. After C, you understand what the others are hiding.
  • It is small. The whole language has 32 keywords. You can hold all of C in your head — try that with C++ or Java.
  • It is everywhere. Embedded systems, operating systems, drivers, and anything where speed or size matters.
  • It makes the next language easy. C++, Java, C#, JavaScript, Go, PHP — they all borrowed their syntax from C.

What C asks of you

C is honest but unforgiving. It does exactly what you write — including the mistakes. There is no safety net telling you that you went past the end of a list, or used memory you already gave back.

That sounds harsh. It is also why C teaches you more than a forgiving language does. You learn what a computer actually is.

Note

You do not need a powerful computer for this track. C compilers are tiny, and every program in these lessons runs on any machine from the last twenty years.

Which of these is the best reason for a beginner to learn C?

In the next lesson you will write and run your first C program. Bring nothing but a computer.

Create a free account to save your progress, or sign in.