Arrays and pointers considered harmful

  • Authors:
  • D. C. Ince

  • Affiliations:
  • -

  • Venue:
  • ACM SIGPLAN Notices
  • Year:
  • 1992

Quantified Score

Hi-index 0.00

Visualization

Abstract

Formal methods of software development are becoming important topics in software engineering as evidenced by the fact that three important publications IEEE Transactions on Software Engineering, IEEE Software and IEEE Computer were recently devoted to this topic. This paper looks at the effect that current problems with formal methods might have on language design. The paper describes what a formal method of software development is, provides an example of a mathematical specification and then, by examining the problems involved in formal data refinement, puts forward the proposition that we should now regard the array and the pointer in the same way that we regarded the goto statement during the seventies.