Immutability

  • Authors:
  • Alex Potanin;Johan Östlund;Yoav Zibin;Michael D. Ernst

  • Affiliations:
  • School of Engineering and Computer Science, VUW, Wellington, New Zealand;Department of Information Technology, Uppsala University, Uppsala, Sweden;Google, New York, NY;Computer Science and Engineering, University of Washington, WA

  • Venue:
  • Aliasing in Object-Oriented Programming
  • Year:
  • 2013

Quantified Score

Hi-index 0.00

Visualization

Abstract

One of the main reasons aliasing has to be controlled, as highlighted in another chapter [1] of this book [2], is the possibility that a variable can unexpectedly change its value without the referrer's knowledge. This book will not be complete without a discussion of the impact of immutability on reference-abundant imperative object-oriented languages. In this chapter we briefly survey possible definitions of immutability and present recent work by the authors on adding immutability to object-oriented languages and how it impacts aliasing.