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

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
主站蜘蛛池模板: 安陆市| 都安| 迭部县| 米易县| 山阳县| 兰坪| 井陉县| 姜堰市| 濮阳县| 麟游县| 白银市| 灵璧县| 西乌珠穆沁旗| 随州市| 沭阳县| 恩平市| 伊金霍洛旗| 伊春市| 民丰县| 临朐县| 杭锦旗| 和田县| 金山区| 洛隆县| 靖宇县| 广安市| 阿拉善右旗| 宁乡县| 浪卡子县| 潞城市| 宜君县| 平谷区| 新乡市| 黄大仙区| 乌拉特后旗| 信宜市| 江城| 双辽市| 吴桥县| 乌拉特前旗| 福州市|