The preface is that part at the beginning of a book that you skip over to get to the good stuff, right? Sure, you can skip over it if you want (hey, you’re the one turning the pages), but who knows what you might miss. . . . It’s not very long, so maybe you should give it a look, just in case.
Very simply, programming means telling a computer to do something. Computers are dumb machines. They don’t know how to do anything. You have to tell them everything, and you have to get all the details right.
But if you give them the right instructions, they can do many wonderful and amazing things.
A computer program is made up of a number of instructions. Computers do all the great things they do today because a lot of smart programmers wrote programs or software to tell them how. Software just means a program or collection of programs that run on your computer, or sometimes on another computer yours is connected to, like a web server.
All computers use binary inside. But most people don’t speak binary very well. We need an easier way to tell the computer what we want it to do. So people invented programming languages. A computer programming language lets us write things in a way we can understand, and then translates that into binary for the computer to use.
There are many different programming languages. This book will teach you how to use one of those languages—one called Python—to tell the computer what to do.
Even if you don’t become a professional programmer (most people don’t), there are lots of reasons to learn programming:
With all the programming languages to choose from (and there are a lot!), why did I pick Python for a programming book for kids? Here are a few reasons:
There’s just one other thing I need to mention now. . . .
For kids especially, one of the most fun parts of using a computer is playing games, with graphics and sound. We’re going to learn how to make our own games and do lots of things with graphics and sound as we go along. Here are pictures of some of the programs we’ll be making:
But I think (as least I hope) you'll find learning the basics and writing your first programs as enjoyable and rewarding as making those spaceships or skiers zoom around the screen.
Have fun!