|
1 | 1 | # What is programming? |
2 | 2 |
|
3 | | -**Feel free to [skip this part](#how-to-read-this-tutorial) if you already |
4 | | -know everything it's talking about.** |
5 | | - |
6 | | -As a computer user you know that computers don't have feelings. They don't |
7 | | -work any faster or slower depending on if we're angry at them or if we're |
8 | | -happy. Computers can perform millions of calculations per second, but they |
9 | | -require us to tell them exactly what to do. If they do something else than |
10 | | -we want them to do the problem is usually that they don't understand our |
11 | | -instructions the way we understand them. |
12 | | - |
13 | | -The only big difference between programming and what you're familiar with |
14 | | -already is that instead of clicking buttons to do things we write the |
15 | | -instructions using a **programming language**. Most programming languages |
16 | | -consist of English words, digits and some characters that have special |
17 | | -meanings. This tutorial uses a programming language called Python because it's |
18 | | -easy to learn and we can do many different things with it. For example, we |
19 | | -can create our own applications that have buttons that people can click |
20 | | -instead of just using applications written by others. |
| 3 | +**Feel free to [skip this part](#how-to-read-this-tutorial) if you |
| 4 | +already know everything it's talking about.** |
| 5 | + |
| 6 | +As a computer user you know that computers don't have feelings. They |
| 7 | +don't work any faster or slower depending on if we're angry at them or |
| 8 | +if we're happy. Computers can perform millions of calculations per |
| 9 | +second, but they require us to tell them exactly what to do. If they do |
| 10 | +something else than we want them to do the problem is usually that they |
| 11 | +don't understand our instructions the way we understand them. |
| 12 | + |
| 13 | +The only big difference between programming and what you're familiar |
| 14 | +with already is that instead of clicking buttons to do things we write |
| 15 | +the instructions using a **programming language**. Most programming |
| 16 | +languages consist of English words, digits and some characters that have |
| 17 | +special meanings. |
| 18 | + |
| 19 | +Unlike people often think, **programming is not complicated**. Large |
| 20 | +programs are always made of small, simple pieces, and those pieces are |
| 21 | +written one by one. Programming languages are made to be used by humans, |
| 22 | +so if there's an easy way to do something and a difficult way to do |
| 23 | +something, you should use the easier way. |
| 24 | + |
| 25 | +## What do I need? |
| 26 | + |
| 27 | +First of all, **you don't need to be good at math**. Some programmers |
| 28 | +are good at math, some are not. Programming and math are two separate |
| 29 | +things and being good or bad at one doesn't mean you are automatically |
| 30 | +good or bad at the other. |
| 31 | + |
| 32 | +You also don't need a powerful computer. I could do almost all of my |
| 33 | +programming on a 12-year-old computer if I needed to. Fast computers are |
| 34 | +nice to work with, but you don't need them. |
| 35 | + |
| 36 | +Programming takes time like all hobbies do. Some people learn it |
| 37 | +quickly, and some people don't. I don't expect you to read this tutorial |
| 38 | +in a couple hours and then master everything it's talking about. Take |
| 39 | +your time with things, and remember that I learned to program slowly. |
| 40 | + |
| 41 | +## Getting started |
| 42 | + |
| 43 | +This tutorial uses a programming language called Python because it's |
| 44 | +easy to learn and we can do many different things with it. For example, |
| 45 | +we can create our own applications that have buttons that people can |
| 46 | +click instead of just using applications written by others. |
21 | 47 |
|
22 | 48 | Before we can get started with Python we need to know how to write some of |
23 | 49 | Python's special characters with our keyboards. Unfortunately I don't know |
@@ -114,6 +140,8 @@ rest of this tutorial only if you don't understand the code. |
114 | 140 | ## Summary |
115 | 141 |
|
116 | 142 | - Now you should know what programming and programming languages are. |
| 143 | +- You don't need to be good at math and you don't need a new computer. |
| 144 | +- Complicated programs consist of simple pieces. |
117 | 145 | - You don't need to remember how to type different characters. Just find the |
118 | 146 | character on your keyboard and press the key, holding down shift or AltGr |
119 | 147 | as needed. |
|
0 commit comments