🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.java
Article #24

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

#24
From: Piercarlo Grandi
Date: Mon, 30 Oct 1995 17:57
15 lines
1400 bytes
>>> On 29 Oct 1995 18:21:13 +0000, pcg@aber.ac.uk (Piercarlo Grandi) said:

Piercarlo> Well, I really meant [In this respect Java is], sorry it was
Piercarlo> not clear.  Java has super, with typeof(super) ==
Piercarlo> typeof(ancestorof(typeof(this))),

A small correction: typeof(super) == ancestorof(typeof(this)).

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.
Technical Details
Message-ID: <vwjspkasvm8.fsf@osfb.aber.ac.uk>
Path: arc1-ca.pugleaf.net!bath.ac.uk!aber!innews
References: <1995Oct23.154442.6836@schbbs.mot.com> <vwjbur0w3qe.fsf@osfb.aber.ac.uk>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!bath.ac.uk!aber!innews
From: pcg@aber.ac.uk (Piercarlo Grandi)
Newsgroups: comp.lang.java,comp.object,comp.lang.c++
Subject: Re: Are "super" and "this" different objects?
Date: 30 Oct 1995 17:57:03 +0000
Organization: Prifysgol Cymru, Aberystwyth
Sender: pcg@osfb.aber.ac.uk
Message-ID: <vwjspkasvm8.fsf@osfb.aber.ac.uk>
References: <1995Oct23.154442.6836@schbbs.mot.com>
 <vwjbur0w3qe.fsf@osfb.aber.ac.uk>
Reply-To: pcg@aber.ac.uk (Piercarlo Grandi)
NNTP-Posting-Host: osfb.aber.ac.uk
In-reply-to: pcg@aber.ac.uk's message of 29 Oct 1995 18:21:13 +0000
Precedence: first-class
X-Newsreader: Gnus v5.0.4