An unusual email
I am due to continue studying towards my degree in Computing this week via the Open University (which I highly recommend for distance learning in the UK)
As part of this students get assigned a tutor for each module they study, I received my first contact with my tutor for the module Objected Oriented Programming with such a cleverly worded email I thought I would share it here
Dear Object
I know that that isn’t the usual way in which tutors should greet their students but this is an object-orientated programming (OOP) module and you must start to think about everything around you as “objects”.
The module introduces you to the terminology of OOP, which is not too difficult and can be best understood by making reference to the real world.
For example, you have been taught over the years by tutors and I’m sure you think of us all as being very similar – all taken from the same “template”. In OOP we call this template a Class, let’s call it “OUTutors”, and I am a particular “instance” of this class call “yourTutor”.
I’m sure that I will have similar “attributes” to all the tutors you have had in the past – except you may never actually meet me – and I will probably have similar “behaviour” to your other tutors (although I don’t shout very much).
I have “private” and “public” attributes. My private attributes might be my date of birthday and my OU pay. My public attributes that I am happy to share with you are:
yourTutorName: *Redacted*
yourTutorEmailAddress: *Redacted*
yourTutorPhoneNumber: *Redacted*As an object I understand certain “protocols” in particular, sendEmail(message) to the above email address and I will try to respond with 24hours where possible. You may also callPhone(message) to the above phone number where again I will try to respond within 24hours.
I, on the other hand, see all students as being taken from the class “OUstudent” and you are a particular “instance” of a OUstudent. Like me your instance makes you an object, called studentYourName as I am an object called yourTutor.
On this module we shall only communicate in a limited number of ways: etutorials (learning events); email; telephone and eTMAs. Whichever method of communication we chose we will be passing “messages” to each other. For example, this email is a message between yourTutor and studentYourName. Later you will be sending me your eTMA; this is a message to me and I will send your marks back to you. So you can see that the “objects” yourTutor and studentYourName have similar “methods” by which they can send “messages”.
So, in summary, today an “object” called yourTutor is using an email “method” to send you this “message”, or in OOP terms:
yourTutor.email(email text); …
This I found to be a very entertaining and involving way to introduce the basic concepts of OOP especially for students with no background in a programming language.