Storing Function Results as Variables


During Abruptly Goblins, it is asked to store the results of functions into a variable. Why do this? Why not just use the function call to yield the results instead?

Do you have link to the lesson?

If you need to use those results more than once, it would be a waste of resources to run the function multiple times. It can also help with making your code easier to follow.