Why Object Orientation?
The previous 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.