Skip to main content

Program Modification and Debugging

  • Chapter
The Evolution of Programs

Part of the book series: Progress in Computer Science No.5 ((PCS,volume 5))

  • 119 Accesses

Abstract

Distinct species, in general, will have some aspects in common and some distinguishing differences; some parts similar in function but different in form, some different in function but similar in form. Analogously, distinct programs may use similar techniques for disparate tasks, or achieve the same goal in divergent ways. In this chapter, we look into means of modifying one program to accomplish a different goal in a similar manner. An analogy between the specification of the given program and that of the desired one is used as the basis for transforming the existing program to meet the new specification. We also consider debugging in this chapter. Debugging is a special case of modification in which a program is modified to achieve the correct results. Although new and important modifications may not arise from reversion and analogous variation, such modifications will add to the beautiful and harmonious diversity of nature. Modifications in hard parts and in external parts sometimes affect softer and internal parts. —Charles Darwin (The origin of species) ‘Similarity’ is not a thing offered on a plate (or hidden in a cupboard); it is a relation established in the mind by a process of selective emphasis on those features which overlap in a certain respect—along one dimensional gradient—and ignoring other features.

—Arthur Koestler (The act of creation)

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

Access this chapter

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

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

© 1983 Birkhäuser Boston, Inc.

About this chapter

Cite this chapter

Dershowitz, N. (1983). Program Modification and Debugging. In: The Evolution of Programs. Progress in Computer Science No.5, vol 5. Birkhäuser, Boston, MA. https://doi.org/10.1007/978-1-4612-5621-2_3

Download citation

  • DOI: https://doi.org/10.1007/978-1-4612-5621-2_3

  • Publisher Name: Birkhäuser, Boston, MA

  • Print ISBN: 978-0-8176-3171-0

  • Online ISBN: 978-1-4612-5621-2

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics