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

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
主站蜘蛛池模板: 盘锦市| 甘洛县| 大洼县| 余姚市| 昌图县| 宜兰市| 施甸县| 儋州市| 合阳县| 江安县| 瑞昌市| 白水县| 镶黄旗| 桓仁| 湘潭市| 乌鲁木齐市| 腾冲县| 普陀区| 远安县| 改则县| 磐安县| 新泰市| 白玉县| 绥中县| 嵊州市| 景洪市| 沾益县| 丹巴县| 顺义区| 文登市| 丰城市| 珲春市| 吴川市| 阳新县| 平邑县| 嘉鱼县| 封开县| 天镇县| 蚌埠市| 卢湾区| 独山县|