Functions have added features such as default values and named parameters as well as the ability to handle an arbitrary number of arguments. We also take a look at how mutables and immutables behave differently when passed to functions.
Chapter 8: More on Functions
Default values and named parameters can be useful.
def name (param1 = XXX): suite-of-statements