Skip to main content
  • 3633 Accesses

Abstract

The pervious chapter introduced the basic concepts behind object orientation, the terminology and explored some of the motivation. This chapter looks at how object orientation addresses some of the issues that have been raised with procedural languages. To do this it looks at how a small extract of a program might be written in a language such as C, considers the problems faced by the C developer and then looks at how the same functionality might be achieved in an object oriented language such as Scala, Java or C#. Again do not worry too much about the syntax you will be presented with, it will be Scala but it should not detract from the legibility of the examples.

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

Access this chapter

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to John Hunt .

Rights and permissions

Reprints and permissions

Copyright information

© 2014 Springer International Publishing Switzerland

About this chapter

Cite this chapter

Hunt, J. (2014). Why Object Orientation?. In: A Beginner's Guide to Scala, Object Orientation and Functional Programming. Springer, Cham. https://doi.org/10.1007/978-3-319-06776-6_3

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-06776-6_3

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-06775-9

  • Online ISBN: 978-3-319-06776-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics