7.9 — Inline functions and variables
Consider the case where you need to write some code to perform some discrete task, like reading input from the user, or outputting something to a file, or calculating a particular value. When implementing this code, you essentially have two options: Write the code as part of an existing function …