Supporting the Design Pattern "Object Structures as Plain Values"

Research output: Working paper and reportsPreprint

Abstract

We sketch the principles of a type system for an object-oriented language such as Java which allows to statically ensure that an object structure is not modified by a method call, if the primary reference of that object structure is stored in a local variable of the method and this variable does not syntactically occur in the call. The object structure thus behaves like a �plain value�, say a machine number, stored in a local variable in that no hidden side-effects can change it. We call the corresponding design pattern �object structures as plain values�. The model is presented in an informal style; its validity still remains to be shown by a formal definition and soundness proof.
Original languageEnglish
Place of PublicationSchloss Hagenberg, 4232 Hagenberg
PublisherRISC, JKU-Linz
Number of pages16
Publication statusPublished - Sept 2009

Publication series

NameRISC Technical Reports

Fields of science

  • 101 Mathematics
  • 101001 Algebra
  • 101005 Computer algebra
  • 101009 Geometry
  • 101012 Combinatorics
  • 101013 Mathematical logic
  • 101020 Technical mathematics

Cite this