Skip to content
🔥 Popular

Programming

Write code and build programs. A computer does exactly what you say — that’s the whole trick.

In short

Programming is the skill of telling a computer what to do so precisely that it will do it a million times without a mistake. Routine turns into a script, an idea into an app, and your thinking becomes as clear as code.

Stories

01

The first program — 1843

In 1843 Ada Lovelace published her notes on Charles Babbage’s Analytical Engine, including an algorithm for computing Bernoulli numbers. The machine was never built, but the algorithm is considered the first computer program.

02

A real bug

In 1947 a moth was found in a relay of the Harvard Mark II computer and taped into the logbook with the note “First actual case of bug being found.” Engineers used the word “bug” before that, but the page became a legend — it is kept at the Smithsonian.

03

Nothing to do with snakes

Python isn’t named after the snake but after the British comedy show “Monty Python’s Flying Circus.” Guido van Rossum released the first version in 1991.

🏆 The summit

The summit is world championships like the ICPC, where a team of three solves a dozen hard problems in five hours on one computer. ITMO University’s team with Gennady Korotkevich won in 2013 and 2015. Your summit is a program other people use.

Legends

  • Ada Lovelace — the first program
  • Grace Hopper — the first compiler
  • Margaret Hamilton — the Apollo code
  • Linus Torvalds — Linux

The ladder of mastery

Where are you now — from 0 to 10?

1Hello, world

My first program prints "Hello, world" — and the computer does as I say.

Next step: Loops — I write ifs and loops — the computer does the repetitive bits I am too lazy for.

Move the slider or tap a step.

Mini-game

Repeat the melody

Code is an order of steps: repeat the sequence without a mistake.

Watch, listen and repeat. Each round is one note longer.

True or myth?

  1. Python is named after the snake.

  2. The first program was written back in the 19th century.

  3. The word “bug” came from a moth in a computer.

😄 A joke on the subject

There are 10 types of people: those who understand binary and those who don’t.

👣 First step — today

Open your browser console (F12 → Console) and type: console.log("Hello, world"). Press Enter — your first program is running. Then try 2 ** 10.

What it gives you

For body, mind and life. Health facts link to their studies.

  • A clear head

    Code teaches you to break a big problem into small steps — a skill that works far beyond the computer.

  • Routine goes to the computer

    A twenty-line script takes away hours of dull work: rename a thousand files, build a report, send out emails.

  • Work from anywhere

    A programmer needs a laptop and internet — the office can be in Seoul, Lisbon or a country house.

  • Open source

    Millions of people write open programs together: Linux, Python, browsers. Anyone can add their own line.

  • Code that reached the Moon

    The software that landed Apollo 11 on the Moon was written by Margaret Hamilton’s team. The printouts of that code, stacked up, are as tall as she was.

  • Two states

    The code doesn’t work — and nobody knows why. The code works — and nobody knows why either.

Trying it is closer than you think

You can start right now: the ladder and the mini-game are above. Host classes like these? Put them on the map — it’s free.

Nothing on the map yet — the first pin could be yours.

More in «Technology»

Photos — Wikimedia Commons, free licences:

  1. Adam Cuerden · Public domain · Wikimedia Commons · resized
  2. Alfred Edward Chalon · Public domain · Wikimedia Commons · resized
  3. Free-Photos from Pixabay · CC0 · Wikimedia Commons · resized
  4. Jedchela · CC BY-SA 4.0 · Wikimedia Commons · resized
  5. Daudi mukiibi · CC BY-SA 4.0 · Wikimedia Commons · resized