Back Navigation Next Navigation Video 8: Functions (page 1 of 9)

We use custom functions to organize our code. We specifically like to use functions for code that we will have to execute in multiple spots in our scripts. If we find ourselves copying & pasting code, then that code is a great candidate to write within a function.

Functions help break our program (scripts) up into smaller or modular chunks. As our scripts grow larger and larger, functions can make them more organized, readable, manageable, and maintainable.

functions