官术网_书友最值得收藏!

Chapter 1.  What is Programming?

We use programming to instruct a computer. Computers include smartphones (such as the iPhone), tablets, game consoles (such as the PlayStation), and a lot more. We say that a computer runs a program, which means that when you open your favorite game or application (also referred to as an app) on your PlayStation or on your iPhone, the device will know how to interpret and execute the program, which in this case is your game or application. A program is simply a set of instructions that your device is able to understand. We can also consider these instructions as a recipe for the device. The recipe will tell your iPhone what your favorite game is all about-everything from the colors of your avatar, to the text in the menus, to what happens when you tap on an enemy or on an animal in a game. This recipe can be written in many ways depending on your personal preference and the device that is supposed to run it. The programming language refers to the language you choose to write your program in. 

This chapter will go through the following topics:

  • Introducing the Swift programming language
  • Why is programming important?
  • What the reader can expect from this book
主站蜘蛛池模板: 万盛区| 固镇县| 平和县| 巨鹿县| 准格尔旗| 嘉荫县| 黄浦区| 泽普县| 恩平市| 鄂州市| 杭锦后旗| 都江堰市| 苍溪县| 金乡县| 正蓝旗| 江津市| 青河县| 达孜县| 临邑县| 定兴县| 大余县| 文山县| 襄垣县| 廉江市| 南华县| 铜川市| 鸡泽县| 南漳县| 沾化县| 东兰县| 万山特区| 工布江达县| 怀仁县| 潞西市| 龙口市| 抚远县| 合水县| 苍溪县| 义马市| 池州市| 康平县|