Keeping pointers or references under control: a component based approach to list based data structures

  • Authors:
  • Joan Krone

  • Affiliations:
  • Denison University, Granville, Ohio

  • Venue:
  • Journal of Computing Sciences in Colleges
  • Year:
  • 2004

Quantified Score

Hi-index 0.00

Visualization

Abstract

For students and practitioners alike, the use of dynamic variables (pointers or references) introduces not just the probability of more errors than for static variables, but errors that are by far more difficult to find and correct. Here we see a way to address this problem by using a component based approach to building software. This approach designs a generic list-based structure that can be used to build a variety of other components without the need to put in dynamic variables except in the list structure. Of course, this approach is not limited to academic use. It is the prescribed approach for any good software engineering practice.