Re: But is it Object-Oriented?

Isaac Gouy <[email protected]>
Newsgroups gmane.comp.lang.nice.general
Message-ID <[email protected]>
> > And AFAIK in both C++ and Java, a class encapsulates methods - 
> > this is one of the few common threads in OO.
> 
> In other multimethod languages, classes don't encapsulate methods but
> they are still called classes. I believe the term "class" actually
> comes from mathematics (category theory?)

Ole-Johan Dahl forgot to mention category theory ;-)

'At the Vilard-de-Lans Summer School Tony Hoare had put forth a
proposal for "record handling" with record classes and subclasses, as
well as record references restricted to, or "qualifed by", a given
class or subclass by declaration. Attribute accessing was by dot
notation, see [19], as well as [17] and [18]. 
We chose the terms "class" and "objects" of classes for our new Simula.
The notion of subclass was especially appealing to us, since we had
seen many cases of objects belonging to different classes having common
properties. It would be useful to collect the common properties in a
separate class, say C to be specialised differently for different
purposes, possibly in different programs.'

The Birth of Object Orientation: the Simula Languages, June 2001


__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.