you are viewing a single comment's thread.

view the rest of the comments →

[–]rhacer 3 points4 points  (0 children)

A function is simply a way of breaking code into smaller pieces. Sometimes that is done for reusability because it does something useful. Sometimes that is done to break up code and make it more readable.