This tutorial covers
- When to use functions
- Benefits of using functions
- How to create functions
- How to use function parameters
The tutorial uses a simple example project which shows what can go wrong when you repeat code and then make changes, and shows how to refactor the events with functions.