Reusing Code with Modules and Packages
The primary motivation for humans to offload work to computers is that, for a human, the work is boring and repetitive. So it would be a shame if, every time you wanted a new program and you were building to include functionality you’d built before, you had to cut and paste every method and class definition from the earlier program into the new one by hand, or worse, rewrite them from scratch.
Unable to display preview. Download preview PDF.