Side-effect free functions in object-oriented languages

  • Authors:
  • Roberto Ierusalimschy;Noemi Rodriguez

  • Affiliations:
  • Departamento de Informática, PUC-Rio Rua M.S. Vincente 225, Rio de Janeiro, 22453-900, Brazil;Departamento de Informática, PUC-Rio Rua M.S. Vincente 225, Rio de Janeiro, 22453-900, Brazil

  • Venue:
  • Computer Languages
  • Year:
  • 1995

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper presents a method for statically verifying that functions do not produce side-effects, in an object-oriented language. The described model, although not allowing any changes to pre-existing objects during a function call, permits an imperative style of programming, where new objects can be freely created and manipulated.