Translations 2
Chinese (zh-CN) |
||
---|---|---|
Name |
编程原理-语句和函数 |
|
Overview |
我们将从为自己的视频游戏创建小程序开始,展示语句和函数是如何工作的。我们不会用特定语言编写代码,但是我们将向您展示条件语句,例如IF和ELSE语句,而循环和FOR循环如何控制几乎所有语言中的程序流,然后我们将这些指令打包成我们的游戏调用的函数,以执行越来越复杂的操作。 |
|
English (en-US) |
||
---|---|---|
Name |
Programming Basics: Statements & Functions |
|
Overview |
Today, Carrie Anne is going to start our overview of the fundamental building blocks of programming languages. We’ll start by creating small programs for our very own video game to show how statements and functions work. We aren’t going to code in a specific language, but we’ll show you how conditional statements like IF and ELSE statements, WHILE loops, and FOR loops control the flow of programs in nearly all languages, and then we’ll finish by packaging up these instructions into functions that can be called by our game to perform more and more complex actions. |
|