Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #2700

Re: Ping Stefan Ram - Teaching object orientation without depending on real-world objects

From Tom Anderson <twic@urchin.earth.li>
Newsgroups comp.lang.java.programmer
Subject Re: Ping Stefan Ram - Teaching object orientation without depending on real-world objects
Date 2011-04-01 23:25 +0100
Organization Stack Usenet News Service
Message-ID <alpine.DEB.2.00.1104012324040.16545@urchin.earth.li> (permalink)
References <alpine.DEB.1.10.1103171800380.17513@urchin.earth.li> <oop-20110401182547@ram.dialup.fu-berlin.de>

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Fri, 1 Apr 2011, Stefan Ram wrote:

> Tom Anderson <twic@urchin.earth.li> writes:
>> I may be imagining this, but weren't you asking about something similar a
>> few months ago?
>
>  It possibly might be a message from 2010-12-18:
>
> Subject: Searching a motivating example for upcasts
> Message-ID: <upcast-20101218173251@ram.dialup.fu-berlin.de>
>
>  , which possibly might not be archived in archives.
>
>  There, I wrote:
>
> |I am looking for any real world examples where it is
> |advantageous to limit voluntarily the possibilities of some
> |object in order to make sure that one uses a general
> |procedure on it.
>
> Tom Anderson <twic@urchin.earth.li> quotes:
>> How might one teach OO without referencing physical real-world objects?
>
>  I give classes on the programming languages C, C++, Java and C#.
>
>  When teaching about OOP in the context of these classes,
>  I usually do not have the idea that I should reference
>  »physical real-world objects« at all.
>
>  My explanation of OOP might proceed as follows:

Aha! Yes, that was it. An interesting discussion, which i was glad to 
re-read. Thanks for directing me to it.

tom

-- 
curry in a sack

Back to comp.lang.java.programmer | Previous | Next | Find similar


Thread

Re: Ping Stefan Ram - Teaching object orientation without depending on real-world objects Tom Anderson <twic@urchin.earth.li> - 2011-04-01 23:25 +0100

csiph-web