Programming is the process of creating a set of instructions that tell a computer or electronic device how to perform a specific task or solve a problem.
- Wikipedia
A simple way to understand programming is to think of it as writing a recipe. Just like a recipe provides step-by-step instructions for cooking a dish, programming provides step-by-step instructions for a computer to follow. These instructions are written in programming languages, which are designed to be understood by both humans and machines.
To illustrate this, consider making a cup of tea. The process might include steps like boiling water, adding a tea bag, and letting it steep for a few minutes. In programming, you would write similar instructions for the computer to follow, such as "turn on the kettle," "wait until the water boils," and "pour the water into a cup."
Something like this (click the boxes)...
Add a teabag to the cup.
It seems easy enough until you try to account for all the possible variations and edge cases. There will always be some smartarse who asks "Will it work with lapsang souchong?" or "What if I use yak's milk instead of regular milk?" or "What are the biscuit options?" and "Can I have a coffee?"
Sooner or later, someone will ask “How long will it take?” When they do, be prepared with a copy of the following formula:
Present the formula to the person who asks, telling them it will give them the answer in seconds. While they stare at their watch with a confused expression, you can make a quick exit and grab a cup of tea at the local café.
Programming is a skill that requires practice, patience, and problem-solving abilities. I will consider myself a programmer when I can write a program that can make a cup of tea without any human intervention.