Unformatted text preview: 6.4 Important Threads In this chapter, we have mentioned several topics in passing that are important not only in problem-solving but in computing in general. Let’s review some of the common threads discussed in this chapter. Information Hiding Several times we have used the idea of deferring the details. We have used it in the context of giving a name to a task and not worrying about how the task is to be implemented until later. The details of the implementation are deferred to a later time. Deferring the details in a design has distinct advantages. The details of a design are hidden from the higher levels. The designer sees just the details that are relevant at a particular level of the Print Print line “First name: ” + firstName Print line “Last name: ” + lastName Initialize “Enter the first name.” Read a string into firstName “Enter the last name.” Read a string into lastName...
View Full Document
- Fall '10
- Personal name, Family name, Given name, firstName Print line