Lesson 20. Building programs to last
After reading lesson 20, you’ll be able to
- Understand how a bigger task is divided into modules
- Understand why you should hide away details of complicated tasks
- Understand what it means for tasks to be dependent on or independent of other tasks
You saw how useful loops are at getting the computer to repeat a certain group of statements many times. As you’re writing code, it’s important to be aware of how you can harness the power of computers to make life easier for you. In this lesson, you’ll take this idea a step further to see how to divide a larger program into smaller mini-programs, each one constructed to achieve a specific task.
For example, if you think about the process of building a car as a large ...
Get Get Programming now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.