Share
 
 

Planning Reusable Utility Functions

Utility functions perform tasks common to many applications you will be writing. These functions form a toolkit you can use over and over again.

When you create a function as part of a toolkit, spend some time documenting it thoroughly. In your comments, also note the features you would like to add to the function in the future, should time permit.

Was this information helpful?