- Well-chosen function names make the program more understandable and say something about the functionality
- Functions save time and effort. Often used actions need to be programmed only once
- Errors need to be fixed in one place only
- Changing the functionality of the program is easier when the change needs to be done in only one place
- Functions are an important tool in structuring the program. The program can have a better manageable structure (divide and conquer) with the help of functions
Reference: blog, ddj, scribd
No comments:
Post a Comment