Using Functions

We'll cover the following...

As you probably know, functions help make your code reusable. They also ensure your code isn’t duplicated unnecessarily throughout your app. You place the code you want to re-use inside a function, and that function is what you tell the rest of your app to call. That is pretty straighforward.

When it comes to drawing stuff on the ...