Professional Documents
Culture Documents
In these concluding notes, we go through the topics of the module again, giving a summary of
the main points of each. This module should have given you a deeper understanding of
programming, with an emphasis on the object-oriented style of programming. It should help
you move away from thinking about programming just in terms of the features of the
programming language you are using, towards thinking of it first in terms of what you want to
do to solve some problem or represent some scenario, and then in terms of how you would do
that in the programming language you are using. When writing a program you structure it by
“inventing your own instructions”, that is by writing methods, and by “inventing your own
types”, that is by writing classes. In most cases you will decide on the type and instructions you
need first by thinking about the scenario you are representing, then you program on two levels:
one (the application) makes use of your own invented types and instructions, the other
(the implementation) is the code that provides these types and instructions. In more complex
code, parts of the code may itself be further broken down into application and implementation
parts.