Lecture overview -- Keyboard shortcut: 'u'  Previous page: Observations about Structured Programming -- Keyboard shortcut: 'p'  Next page: Towards Object-oriented Programming [Section] -- Keyboard shortcut: 'n'  Lecture notes - all slides and notes together  slide -- Keyboard shortcut: 't'  Textbook -- Keyboard shortcut: 'v'  Help page about these notes  Alphabetic index  Course home  Page 5 : 22
Object-oriented Programming in C#
Introduction to Object-oriented Programming
Towards Object-oriented Programming

On this slide we list a few observations that bring us in the direction of object-oriented programming.

  • The gap between the problem and the level of the machine:

    • Fill the gap bottom up

  • Use the data as the basic building blocks

    • Data, and relations between data, are more stable than the actions on data

  • Bundle data with their natural operations

    • Build on the ideas of abstract datatypes

    • Consolidate the programming constructs that encapsulate data (structs/records)

The idea of abstract datatypes is central to object-oriented programming. On the following slide page we attempt to give you a basic idea behind abstract datatypes.

  • Concentrate on the concepts and phenomena which should be handled by the program

    • Make use of existing theories of phenomena and concepts

    • Form new concepts from existing concepts