🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.java
Article #30

Re: Are "super" and "this" different objects?

#30
From: Michael S. Klein
Date: Fri, 03 Nov 1995 10:44
20 lines
1291 bytes
pcg@aber.ac.uk (Piercarlo Grandi) writes:

>Also, in a previous article, I had written that in Smalltalk,
>confusingly, procedure == message and calling == sending, where I had
>omitted 'call' as in 'procedure call == message'. Thanks to someone that
>wrote me noting this. Incidentally, I find the Smalltalk 'method' for
>'procedure' not confusing; but surely the idea of 'sending' a 'message'
>to an object is even more bizarre when the alternative of 'invoking a
>method' is available.

Sending a message does, indeed, invoke a method.  But when you write the code that
sends the message, you don't know *which* method it will invoke.  That's
polymorphism.

Mike Klein

mklein@alumni.caltech.edu

-- 
mklein@alumni.caltech.edu
Technical Details
Message-ID: <47crr3$f5a@gap.cco.caltech.edu>
Path: arc1-ca.pugleaf.net!nntp-server.caltech.edu!mklein
References: <1995Oct23.154442.6836@schbbs.mot.com> <vwjbur0w3qe.fsf@osfb.aber.ac.uk> <vwjspkasvm8.fsf@osfb.aber.ac.uk>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!nntp-server.caltech.edu!mklein
From: mklein@alumni.caltech.edu (Michael S. Klein)
Newsgroups: comp.lang.java,comp.object,comp.lang.c++
Subject: Re: Are "super" and "this" different objects?
Date: 3 Nov 1995 10:44:51 GMT
Organization: California Institute of Technology, Pasadena
Message-ID: <47crr3$f5a@gap.cco.caltech.edu>
References: <1995Oct23.154442.6836@schbbs.mot.com>  <vwjbur0w3qe.fsf@osfb.aber.ac.uk> <vwjspkasvm8.fsf@osfb.aber.ac.uk>
NNTP-Posting-Host: alumni.caltech.edu
X-Newsreader: NN version 6.5.0 #12 (NOV)