O'Reilly logo

Programming Like a Pro for Teens by Charles R. Hardnett

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 8. Bottom-Up Design

In This Chapter

  • Bottom-Up Design Principles

  • Bottom-Up Design Example

  • Top-Down Versus Bottom-Up

 

“There are two ways to write error-free programs; only the third one works.”

 
 --Alan J. Perlis

The previous chapter introduced top-down design. The top-down design process is one way to tackle the problem solving for larger-scale problems. The complement to top-down design is bottom-up design. Bottom-up design occurs when you determine what programming assets are available to you, and you use them to build up your program instead of creating them yourself. To better understand this approach, consider what happens when you build with Legos or any other building set. If you want to build a car, you start looking for parts that you ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required