Skip to main content

Support for Value Types in an Object-Oriented Programming Language

  • Conference paper
  • 313 Accesses

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 3263))

Abstract

Values and objects are two different logical concepts. Objects can be created and changed, values, in contrast, exist per se and are immutable. Current object- oriented languages support mainly objects and classes of objects. Classes cannot be used to simulate value types in a satisfactory way.

The paper proposes a language element that supports arbitrary value types and that can be embedded in an object-oriented language. It describes the corresponding keywords, syntax, and consistency checks. Thereby, it gives an impression of the “look and feel” of value types from an application programmer’s perspective.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Coplien, J.: Advanced C++: Programming Styles and Idioms. Addison-Wesley, Reading (1992)

    Google Scholar 

  2. Gamma, E., Helm, R., Johnson, R., Vlissides, J.: Design Patterns: Elements of Reusable Object-Oriented Software. Addison-Wesley, Reading (1996)

    MATH  Google Scholar 

  3. Goldberg, A., Robson, D.: Smalltalk-80: The Language. Addison-Wesley, Reading (1989)

    MATH  Google Scholar 

  4. Gosling, J., Joy, B., Steele, G.: The Java Language Specification. Addison-Wesley, Reading (1996)

    MATH  Google Scholar 

  5. Jensen, K., Wirth, N.: PASCAL User Manual and Report. 2. Springer, Heidelberg (1978)

    Google Scholar 

  6. JWAM - A Framework to Support the Tools & Materials Approach, http://www.jwam.org

  7. JWAM Value-Framework, http://sf.net/projects/jwamdomainvalue

  8. Kernighan, B., Ritchie, D.: The C Programming Language, 2nd edn. Prentice Hall, Inc, Englewood Cliffs (1988)

    Google Scholar 

  9. Kölling, M., Rosenberg, J.: Blue - A Language for Teaching Object-Oriented Programming. In: SIGCSE 1996,SIGSCE Bulletin, Philadelphia, Pennsylvania, vol. 28(1) (1996)

    Google Scholar 

  10. Liberty, J.: Programming C#, 3rd edn. O’Reilly, Sebastopol (2003)

    Google Scholar 

  11. MacLennan, B.J.: Values and Objects in Programming, Languages. ACM SIGPLAN Notices 17(12), 70–79 (1982)

    Article  MathSciNet  Google Scholar 

  12. Meyer, B.: Eiffel: the Language. Prentice-Hall, New York (1992)

    MATH  Google Scholar 

  13. Odersky, M., et al.: The Scala Language Specification, Version 1.0, Draft (2004), http://scala.epfl.ch/index.html

  14. Pepper, P.: Funktionale Programmierung in OPAL, ML, HASKELL und GOFER. Springer, Berlin (1999)

    MATH  Google Scholar 

  15. Stoutamire, D., Omohundro, S.: The Sather 1.1 Specification, ICSI Technical Report TR- 96-012, International Computer Science Institute, Berkley, CA (1996)

    Google Scholar 

  16. Stroustrup, B.: The C++ Programming Language, 3rd edn. Addison-Wesley, Reading (1997)

    Google Scholar 

  17. A Typesafe Enum Facility for the Java Programming Language, http://jcp.org/aboutJava/communityprocess/jsr/tiger/enum.html

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2004 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Ritterbach, B. (2004). Support for Value Types in an Object-Oriented Programming Language. In: Weske, M., Liggesmeyer, P. (eds) Object-Oriented and Internet-Based Technologies. NODe 2004. Lecture Notes in Computer Science, vol 3263. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-30196-7_2

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-30196-7_2

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-23201-8

  • Online ISBN: 978-3-540-30196-7

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics