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

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
主站蜘蛛池模板: 修武县| 友谊县| 疏勒县| 驻马店市| 于都县| 潼关县| 阜平县| 湖北省| 嘉祥县| 昔阳县| 郑州市| 团风县| 库尔勒市| 黄骅市| 安化县| 清水县| 汶上县| 东阳市| 澜沧| 克山县| 玛多县| 清丰县| 河津市| 河源市| 蓬溪县| 江孜县| 那曲县| 乐平市| 承德市| 临泽县| 东平县| 苍南县| 和林格尔县| 庆元县| 武隆县| 石柱| 邢台县| 林芝县| 宣威市| 永寿县| 即墨市|