Programming and data

Learn Programming fundamentals: what to know and where to start

Programming fundamentals are the core ideas shared by most languages: variables, conditions, loops, functions and data structures. They are the first step for anyone who wants to write code.

Outcomes

What you will be able to do with Programming fundamentals

  • Write programs using variables, conditions and loops
  • Define and use functions
  • Work with lists, dictionaries and files
  • Read and fix error messages
  • Finish a small project and explain it

Learning path

How to learn Programming fundamentals, in order

  1. Beginner

    Write simple programs

    Learn variables, conditions, loops and functions in one beginner-friendly language. You are ready when you can solve small exercises without copying a solution.

  2. Intermediate

    Work with data and structure code

    Learn lists, dictionaries, files, errors and how to break a program into functions and modules. You are ready when you can build a small tool that reads a file and produces a result.

  3. Advanced

    Build a real project

    Add tests, version control and a simple interface or API, and read other people’s code. You are ready when you can finish a project and explain every part of it.

Keep going

Where to go next

The first is the natural next step from this page. The rest follow what you have been reading.