Designing functions

Often functions will act upon global data, or data passed in by the caller. It is important that when the function completes, it leaves this data in a consistent state. Equally so, it is important that, the function can make assumptions about the data before it accesses it.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset