Programming guide · Free

Choose your first programming language

Pick a sensible first programming language based on what you want to build, set up a free tool to write code and finish a tiny first program in one sitting.

Estimated time: 30–60 minutesUpdated: 29 September 2026

Use this guide if you want to learn to code but are stuck choosing between languages. You need a computer (Windows, Mac or Linux) and an idea of what you would like to make.

Step by step

  1. Start from your goal

    Write one sentence about what you want to build or do, such as a website, automating spreadsheets, a mobile app or a game. The language matters less than having a goal that keeps you motivated. Most programming ideas carry over when you learn a second language later.

  2. Match the goal to a language

    For websites, start with HTML and CSS, then JavaScript for interactivity. For automating tasks, working with data or general learning, Python is a popular beginner choice because it reads clearly. For iPhone apps Swift is the usual language, for Android apps Kotlin, and for many games C# with a game engine.

  3. Install a code editor

    Download a free code editor such as Visual Studio Code from its official website. For Python, install it from the official Python website or your system's app store; on Windows, tick the option to add Python to PATH during installation. For web pages, a browser is all you need to run your code.

  4. Write a tiny first program

    Create a new file and write a program that prints a greeting or asks for your name and replies. Save it with the right file ending, such as .py for Python or .html for a web page. Run it, then change one thing and run it again so you see how edits change the result.

  5. Pick one learning resource

    Choose a single structured beginner course, book or tutorial series and follow it in order rather than jumping between many. Look for one with exercises you type yourself, not just videos to watch. Your local library may offer free access to programming books and online courses.

  6. Plan a first small project

    Choose a project you could finish in a week or two, such as a quiz, a to-do list or a one-page website about a hobby. Code for short sessions several times a week rather than one long session. Save your work regularly, and learn Git once you are comfortable.

Ready-to-use checklist

  • Goal written in one sentence
  • First language chosen
  • Code editor installed
  • Language installed and tested
  • First program runs
  • One learning resource chosen
  • Small first project picked
  • Regular coding time in your diary

Practical tips

  • Type code out yourself rather than copying and pasting; it helps you remember and spot mistakes.
  • Expect errors: reading them carefully is a normal, important part of programming.
  • Stick with your first language for a few months before judging whether it suits you.

Common problems

Typing python in the terminal gives 'command not found' or opens the Microsoft Store.

Python is either not installed or not on your PATH. Reinstall from the official installer and tick the 'add to PATH' option, or on Windows try the py command instead.

You feel overwhelmed by all the choices of tools and frameworks.

Ignore frameworks for now and learn the basics of one language with one editor. Frameworks are much easier once you understand variables, loops and functions.

Tutorials make sense but you cannot write anything alone.

After each lesson, change the example or build a tiny variation without looking. Small projects of your own are the bridge from following to creating.

This guide gives general information, not personal legal, financial or medical advice. Rules and prices change, so check the current position with the official service before acting.

This guide is free. Unlock all ABCDayZ guides from £3.99 – one payment, no automatic renewal.