← all stories
// student_story

Why Learn C First? Inside the 42 Piscine

The 42 Berlin Piscine starts in a terminal with shell and C. Why we teach memory, pointers and the command line before any framework.

  • 42 Berlin
  • November 19, 2026
Two people at a desk at 42 Berlin, one typing at a monitor that shows a 3D brick maze while the other watches

The Piscine is 26 days long and it starts on the command line. There is no framework and no starter project. You get a terminal with a shell prompt, and soon after that you are writing C from scratch. People ask us why learn C first when the job ads they read want Python, JavaScript or Java. This is our reasoning.

What the 42 Piscine Curriculum Covers

The Piscine is the final step of admissions at 42 Berlin. It is also where the learning starts.

  • 26 days on campus, seven days a week.
  • Two subjects: shell and C.
  • Daily modules, each one evaluated by another candidate.
  • A machine exam once a week, under time pressure.
  • Group projects at the weekend, called Rushes.
  • No teachers, and no coding experience required.

Nobody lectures. You learn by peer-to-peer coding, working next to other candidates and evaluating each other's solutions. The details are on the Piscine page.

Why Start in the Command Line

The terminal is where software gets built, tested and deployed. Most servers have no desktop. Version control, compilers, containers and deployment scripts are all driven by text commands.

Starting there removes a layer of mystery early. You learn what a file, a path, a permission and a process are, because you cannot move without them. Later in the curriculum, students build their own shell in C, a project called Minishell. Finn, who came to 42 Berlin from a computer science degree, says it "removed the black box" for him and made every Linux system easier to work with afterwards.

Why Learn C First

C is small, old and unforgiving. Those are the reasons we use it.

C Hides Very Little

In C you ask for memory and you give it back. A string is a row of bytes with a zero at the end. A pointer is an address, and nothing stops you following a wrong one. The first curriculum module covers string manipulation, dynamic allocation, file input and output, pointers and linked lists. It ends with Libft, where you write your own versions of the standard library functions you have been calling.

Every Abstraction Leaks

In 2002 Joel Spolsky set out what he called the law of leaky abstractions: "All non-trivial abstractions, to some degree, are leaky." A garbage collector, an ORM and a web framework all save time until they misbehave. Then you need the level underneath. His point about learners still holds. Abstractions save time when you work, and none when you learn.

The level underneath is very often C. The Linux kernel, Git and CPython, the standard Python interpreter, are written largely in it.

Mistakes Have Consequences

C does not catch your mistakes. Read past the end of an array and the program may crash now, later or never. You learn to check your own work, read the error output and use a debugger, because nothing else will do it for you. That habit goes with you into every other language.

What Starting With Frameworks Costs

Starting with a framework puts a working app on screen in a weekend. That is motivating, and for many goals it is the right call.

The cost arrives later. A framework makes decisions for you and hides them well. When something breaks below it, such as a slow query, a memory leak or a process that will not die, you are debugging a layer you have never seen. Developers who started at the bottom have seen it.

AI tools raise the stakes. They write framework code fluently, so that skill is now cheap. Knowing whether the output is correct is not. We wrote about that in Peer-to-Peer Learning in the Age of AI.

The Case Against C

C is not a safe language, and we do not pretend it is. Microsoft has reported that about 70% of the vulnerabilities it assigns a CVE each year are memory safety issues, and the Chromium project reports a similar share of its serious security bugs. Security agencies including CISA now urge companies to move to memory-safe languages.

We agree with them. We teach C because of that weakness, not in spite of it. Once you have freed the same memory twice and spent an afternoon finding out why, you understand what a garbage collector or Rust's borrow checker does for you. You also know what it costs.

C is a hard first language as well, and the Piscine is hard on purpose. It is a selection, for the school and for you.

Foundational Programming Skills Transfer

The claim is narrower than "C is the best language". It is that a second language is cheap once you understand the first one properly.

The 42 Berlin curriculum is built on that bet. It begins in C and then moves on: system administration with Docker and networking, algorithms, object-oriented programming in Python, and a module on AI that covers LLMs, RAG and agents. Students do not start again each time. They carry the same picture of memory, processes and data structures into a new syntax.

Questions People Ask

Do I Need to Know C Before the Piscine?

No. You need no coding experience, no degree and no particular grades. The Piscine starts from zero and moves fast.

Will I Only Learn C at 42 Berlin?

No. C is the start. The curriculum continues with system administration, algorithms, Python and AI. Later specialisations include cybersecurity, web and mobile, and AI and data.

Is C Still Worth Learning in 2026?

Yes, as a foundation. New systems code is moving towards memory-safe languages, and that is a good thing. The kernel under your containers and the interpreter running your Python are still C. Understanding them makes you better at everything built on top.

Start With the Piscine

The Piscine costs nothing and takes 26 days. Read how it works, see what students built afterwards in the stories, or apply.

42 Berlin

// your_turn

your name next.

No tuition fees, no degree and no coding experience needed. Most of the people in these stories started with the same four-week Piscine.