What happens in the hidden space between a human intention and the moment a machine moves.
Every day, millions of people perform a gesture so ordinary that it barely registers as a thought. Someone stands before an ATM on a busy street, taps a few numbers on a glass screen and presses a button to withdraw cash.
A moment later, a soft mechanical hum rises from inside the machine. Rollers turn. Banknotes are counted, separated and guided through a narrow slot into waiting fingers.
From the outside, the exchange looks effortless. Yet between the touch of a finger and the rustle of paper lies a long chain of events. A human wish is expressed through symbols, translated into instructions, represented by electrical signals and eventually turned into physical movement.
What carries the wish along that chain is something we call code. We follow that idea from its beginnings in the 1840s to a landing on the Moon in 1969, when it was tested to its limits.
An idea looking for a loom
Long before electronic computers existed, an English mathematician named Ada Lovelace (1815–1852), the daughter of the poet Lord Byron, glimpsed a possibility.
In 1843, she translated an account of the Analytical Engine, a machine proposed by the English inventor Charles Babbage, written by the Italian engineer Luigi Federico Menabrea. She added notes of her own, which ran longer than the account itself. The Engine was designed to carry out mathematical operations by following a sequence of instructions. Lovelace saw that its possibilities might extend far beyond calculation.
Babbage had borrowed an idea from an invention already transforming the textile industry: the Jacquard loom, built by the French weaver Joseph Marie Jacquard in 1804.
That loom could weave elaborate patterns by following instructions encoded in a series of punched cards. The cards determined which threads would be lifted and which would remain in place, allowing intricate designs to emerge from a carefully arranged sequence of operations.
Lovelace took the comparison further. In her notes she wrote that the Analytical Engine weaves algebraical patterns just as the Jacquard loom weaves flowers and leaves. If the relationships involved could be expressed in suitable symbols and rules, she reasoned, a machine might handle other things too, even musical notes.
Her insight anticipated one of the defining possibilities of the modern age: a machine could be instructed to manipulate symbols and patterns, not merely calculate numbers.
The Analytical Engine was never built. But the idea she explored pointed towards a future in which machines could carry out elaborate operations by following instructions devised by human beings.
This is the idea behind programming.
A computer does not understand a human wish in the way another person might. It does not know that someone withdrawing money may need to buy groceries, pay a bill or help a family member. It responds to instructions and conditions that people have carefully defined.
Think of code as a cooking recipe and the machine as a very literal-minded kitchen. A human cook may understand what is meant by “simmer until fragrant”. A machine needs precise instructions about temperature, duration and sequence.
When programmers write code, they break a desired outcome into smaller steps, specify the conditions under which each step should happen and anticipate what might go wrong.
A simplified rule for dispensing cash might read:
If the PIN is correct, the account is authorised for withdrawal, sufficient funds are available and the requested amount can be dispensed, then release the notes; otherwise, display an appropriate message.
In a programming language, the same idea might look like this:
if pin_matches and withdrawal_is_authorised:
if balance >= amount:
dispense_cash(amount)
else:
show_message(“Insufficient balance”)
else:
show_message(“Not authorised”)
We need not follow the code itself. The point is that every condition is spelled out. The example is deliberately simple: a real ATM must also communicate with banking systems, check several safeguards and deal with mechanical problems.
But the principle remains: the machine does not have to guess what its human designers intended. The instructions define what it must do.
Writing code is therefore an exercise in disciplined empathy. A programmer must think ahead on behalf of an unknown person who will one day press a button and trust the system to keep its promise.
Crossing the invisible threshold
Once the instructions have been written, how does text stored inside a computer reach out and move something in the physical world?
The answer lies in a series of transformations, each bringing an abstract instruction closer to an actual event.
From human language to machine instructions
People write instructions in a programming language, a form of writing with strict rules. Usually a separate program, called a compiler or interpreter, translates those instructions into simple operations that the processor can carry out. Other software, the operating system and the drivers, passes the work on to the particular devices and their parts.
From machine instructions to electrical signals
Inside a computer chip are billions of microscopic electronic components called transistors. They act as switches, controlling the flow of electrical current.
Computers represent information using binary digits, or bits: 0 and 1. In electronic circuits, these values are represented by different electrical voltage levels or signal states. They are not simply a matter of electricity being present for 1 and absent for 0.
By arranging these electronic switches into circuits called logic gates, a processor can perform calculations, compare values, make decisions and follow the sequence of operations specified by its instructions.
An enormous amount of coordinated activity takes place inside a chip too small to see with the naked eye.
From electrical signals to physical movement
But a computer chip cannot, by itself, push a banknote through a slot or turn the wheels of a machine.
For that, it needs hardware designed to act upon the physical world.
An actuator is a device that converts an electrical signal into physical action. Depending on its design, it might use an electric motor, an electromagnetic coil, a valve or another mechanism to produce movement.
In an ATM, electronic instructions control the dispensing mechanism. Motors and rollers help separate and transport banknotes from their storage compartments towards the outlet. Sensors can check whether notes have moved as expected.
What began as a request on a screen has now become the movement of real paper.
The journey can be seen in a simple sequence:

The entire process may take only a few seconds. Yet it depends on many layers of design, engineering and coordination working together.
The person using the machine sees none of it.
Where precision matters most
When code controls something in the physical world, accuracy is not merely a matter of convenience. Sometimes it becomes a matter of safety.
One of the clearest examples of this came during the first human landing on the Moon.
On 20 July 1969, as the Apollo 11 lunar module Eagle descended towards the lunar surface, its onboard guidance computer began displaying unexpected program alarms. The numbers 1202 and 1201 appeared at a moment when the astronauts had very little time to spare.
The computer was being overloaded with more work than it could handle at once. An incorrectly configured rendezvous radar was generating unnecessary demands on its processing capacity.
An ordinary computer might simply have stopped responding under such conditions. But the Apollo Guidance Computer had been designed with a way to cope with overload.
Its software used a priority-based system. Tasks essential to guiding the spacecraft were given precedence over less urgent ones. When the computer became overloaded, it could interrupt lower-priority work, recover and resume the critical tasks.
The guidance and control functions needed for the descent could therefore continue.
In mission control at Houston, Texas, the team had to decide whether the alarms meant the landing should be abandoned. The guidance officer, Steve Bales, supported by the computer specialist Jack Garman and others who knew how the system had behaved in testing, advised that the descent could continue.

The astronauts, Neil Armstrong and Buzz Aldrin, proceeded.
A few minutes later, Eagle touched down safely on the Moon.
Behind this moment stood a large team of engineers and programmers at the Massachusetts Institute of Technology (MIT), a university in the United States, and at NASA, the United States space agency. Among the people whose contributions shaped the software was the American computer scientist Margaret Hamilton, who led the Software Engineering Division at MIT’s Instrumentation Laboratory.
Hamilton and her colleagues worked on software designed to function reliably under demanding and unpredictable conditions. Their work helped establish the importance of treating software as a critical engineering discipline, particularly when human lives depended upon it.
The alarms show the foresight of the people who built the system. They could not make a computer that would never be overloaded, so they built one that could recover when it was.
Thoughtful design protects people in quieter ways, too. A railway signalling system may be designed to default to a stop signal if power or communication is lost. An automatic save function in a word processor may preserve hours of work if a computer suddenly shuts down.
In each case, what matters is how the system behaves when something goes wrong.
The same bridge between instructions and action is at work all around us.
In medicine, software helps infusion pumps deliver carefully controlled amounts of medication. In weather forecasting, computer models process observations from satellites and other instruments to help predict approaching storms and give communities time to prepare. In everyday communication, digital systems turn voices and photographs into data that can travel through fibre-optic cables and be reconstructed on screens thousands of kilometres away.
The applications differ, but the principle is the same: human-designed instructions guide electrical systems to perform work in the physical world.
What we do not see
When technology works well, the machinery almost disappears.
A grandparent hears a grandchild’s voice across an ocean. A traveller finds the right road in an unfamiliar city. Someone completes a small errand in seconds and goes on with the rest of the day.
We notice the human moment, not the machinery behind it.
Yet behind every smooth action stands a chain of human thought: curious minds that asked whether machines could follow symbolic instructions, mathematicians who imagined possibilities beyond the technology of their time, and engineers who patiently designed systems to cope with the unexpected.
There are physical laws at work, too, governing the movement of electrons, the behaviour of magnetic fields and the turning of motors. Engineers work within them.
A few lines of carefully written instructions can set in motion a long sequence of events. They are the product of imagination, knowledge, testing and responsibility.
Code is not magic, though from the outside it can feel like it. It is a set of instructions, written by people, clear and careful enough for a machine to carry out in the physical world.
Sources & Notes
Ada Lovelace and the Analytical Engine
Ada Lovelace, “Notes by the Translator” (Notes A–G), appended to Luigi Federico Menabrea, “Sketch of the Analytical Engine invented by Charles Babbage”, translated by Lovelace, Scientific Memoirs, vol. 3 (1843). Menabrea’s original: “Notions sur la machine analytique de M. Charles Babbage”, Bibliothèque universelle de Genève (1842). Her notes discuss the Jacquard loom and the possibility of machines manipulating symbolic patterns.
Apollo 11 and its guidance software
NASA, Apollo 11 Lunar Surface Journal, “Apollo 11 Program Alarms” (an account compiled by Peter Adler). It explains the 1202 and 1201 alarms and attributes them to the rendezvous radar switch settings that caused unneeded radar jobs to fill the computer’s memory. nasa.gov/wp-content/uploads/static/history/alsj/a11/a11.1201-pa.html
Matthew Hersch, “Troubleshooting 101 (1201 actually, and 1202 too)”, Smithsonian Air & Space magazine. It credits the guidance officer Steve Bales and the computer specialist Jack Garman with recognising the alarms during the landing, which kept NASA from aborting the descent. smithsonianmag.com/air-space-magazine/troubleshooting-101-1201-actually-and-1202-too-111339271/
MIT News, “Recalling the Giant Leap”, 17 July 2009. Recollections by people from the MIT community, including Margaret Hamilton, about the landing and the alarms. news.mit.edu/2009/apollo-vign-0717
Technical explanation
The descriptions of programming languages, binary representation, processors, transistors, operating systems, actuators and ATM mechanisms are simplified for general readers. Actual implementations vary by system and manufacturer. The ATM example illustrates the general process rather than specifying the design of every ATM.
The Apollo 11 passage describes a team achievement. Margaret Hamilton’s contributions to Apollo software engineering are recognised without suggesting that she alone designed the guidance computer’s priority executive or its entire recovery system.