creating and using functions to manage information properlyyou need to organize the tools used to perform the required tasks each line of code that you create performs specific taskand you combine these lines of code to achieve desired result sometimes you need to repeat the instructions with different dataand in some cases your code becomes so long that it' hard to keep track of what each part does functions serve as organization tools that keep your code neat and tidy in additionfunctions make it easy to reuse the instructions you've created as needed with different data this section of the tells you all about functions more importantin this section you start creating your first serious applications in the same way that professional developers do viewing functions as code packages you go to your closetopen the doorand everything spills out in factit' an avalancheand you're lucky that you've survived that bowling ball in the top shelf could have done some severe damagehoweveryou're armed with storage boxes and soon you have everything in the closet in neatly organized boxes the shoes go in one boxgames in anotherand old cards and letters in yet another after you're doneyou can find anything you want in the closet without fear of injury functions are just like that -they take messy code and place it in packages that make it easy to see what you have and understand how it works commentaries abound on just what functions are and why they're necessarybut when you boil down all that textit comes down to single ideafunctions provide means of packaging code to make it easy to find and access if you can think of functions as organizersyou find that working with them is much easier for exampleyou can avoid the problem that many developers have of stuffing the wrong items in function all your functions will have single purposejust like those storage boxes in the closet understanding code reusability you go to your closettake out pants and shirtremove the labelsand put them on at the end of the dayyou take everything off and throw it in the trash hmmm that really isn' what most people do most people take the clothes offwash themand then put them back into the closet for reuse functions are reusabletoo no one wants to keep repeating the same taskit becomes monotonous and boring when you create function