Skip to main content

The Class Construct

  • Chapter
  • 74 Accesses

Abstract

The process of stepwise refinement produces programs as a series of levels of abstraction, and at each level the designer is encouraged to ignore the details of the lower levels. Prior to this chapter we have concentrated on the refinement of control structures. But when designing programs, especially large ones, it is also necessary to refine the structure of the data hand in hand with control. Proceeding down the development tree, the designer first postulates and uses a structured type, then at a later or lower level it becomes necessary to specify how it is implemented. Usually the implementation can be arranged in a number of different ways, each with its own strengths and weaknesses. But as far as the higher level is concerned the details of the chosen implementation are irrelevant. If the distinction between the two levels of using and implementing a structured type is blurred then the program structure and transparency must necessarily suffer. It is therefore sensible textually to separate the implementation of a structured type from its use in a program.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 1979 Derek Coleman

About this chapter

Cite this chapter

Coleman, D. (1979). The Class Construct. In: A Structured Programming Approach to Data. Springer, New York, NY. https://doi.org/10.1007/978-1-4612-5981-7_7

Download citation

  • DOI: https://doi.org/10.1007/978-1-4612-5981-7_7

  • Publisher Name: Springer, New York, NY

  • Print ISBN: 978-1-4684-7987-4

  • Online ISBN: 978-1-4612-5981-7

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics