As programs grow, the code often becomes more complex.
And complex code can be hard to read, and even harder to maintain. One way of managing this complexity is to create functions. Functions are snippets of code that you use as needed from within your program. They allow you to separate out common actions, and this means that they make your code easier to read and easier to maintain. In this chapter, you'll discover how a little function knowledge can make your coding life a whole lot easier.
Was this article helpful?