Course 3 - Artist - Functions explained by Bill Gates
-
0:00 - 0:07One of the great things in computer programming
is once you've taught a computer how to do -
0:07 - 0:18an action, you can call that function again.
You give it a name and then you can call it. -
0:18 - 0:25That's really like extending the language.
In the program we built, we learned how to -
0:25 - 0:35draw a square by moving and turning four times.
We can take that function and give it a name, -
0:35 - 0:42draw a square, so that any time we want to
do that, we simply say draw a square and it -
0:42 - 0:50will go back and invoke that function, that
code. It will get done for us. We've added -
0:50 - 0:53that concept to our programming language.
- Title:
- Course 3 - Artist - Functions explained by Bill Gates
- Video Language:
- English
- Duration:
- 0:55