🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: nl.comp.programmeren
Article #277

Re: [java] overerving vraagje

#277
From: Edwin Martin
Date: Thu, 27 Jan 2005 23:53
20 lines
2080 bytes
Gerrit Cornelis wrote:

>>Maar om de vermaarde Joshua Bloch te citeren: "Attempting to enforce
>>noninstantiability by making a class abstract does not work."
> 
> enig idee waarom die mens dat beweerd? ik vind enkel de inhoudstabel van
> zijn boek. de meeste andere puntjes in die tabel zijn redelijk voor de hand
> liggend. Maar dit is en blijft een bizar statement aangezien er een speciale
> taal construct voor voorzien is zou er geen reden mogen zijn om terug te
> vallen op truc.

"The class can be subclassed and the subclass instantiated. Furthermore, 
  it misleads the user into thinking the class was designed for 
inheritance".

Edwin


-- 
http://www.bitstorm.org/
Technical Details
Message-ID: <G9fKd.10693$Pj6.6144@amsnews02.chello.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!newsfeed.freenet.de!feed.news.tiscali.de!newsfeed01.chello.at!amsnews04.chello.com!amsnews02.chello.com.POSTED!53ab2750!not-for-mail
References: <29PJd.5609$U95.109676@phobos.telenet-ops.be> <TsQJd.21247$PH1.15924@amsnews05.chello.com> <41f7dd33$0$557$ba620e4c@news.skynet.be> <jhUJd.9434$Pj6.1589@amsnews02.chello.com> <41f8ab59$0$2520$ba620e4c@news.skynet.be>

Show Full Headers
Complete Article Headers
X-Google-Thread: 107324,a9b9af059088cf5d
X-Google-Thread: fcea4,a9b9af059088cf5d
X-Google-Attributes: gid107324,gidfcea4,public
X-Google-Language: DUTCH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!newsfeed.freenet.de!feed.news.tiscali.de!newsfeed01.chello.at!amsnews04.chello.com!amsnews02.chello.com.POSTED!53ab2750!not-for-mail
From: Edwin Martin <e.j.martin@chello.nl>
Organization: Bitstorm Internet Development
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: nl.comp.programmeren,be.comp.programming
Subject: Re: [java] overerving vraagje
References: <29PJd.5609$U95.109676@phobos.telenet-ops.be> <TsQJd.21247$PH1.15924@amsnews05.chello.com> <41f7dd33$0$557$ba620e4c@news.skynet.be> <jhUJd.9434$Pj6.1589@amsnews02.chello.com> <41f8ab59$0$2520$ba620e4c@news.skynet.be>
In-Reply-To: <41f8ab59$0$2520$ba620e4c@news.skynet.be>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 20
Message-ID: <G9fKd.10693$Pj6.6144@amsnews02.chello.com>
Date: Thu, 27 Jan 2005 23:53:10 GMT
NNTP-Posting-Host: 24.132.235.253
X-Complaints-To: abuse@chello.nl
X-Trace: amsnews02.chello.com 1106869990 24.132.235.253 (Fri, 28 Jan 2005 00:53:10 MET)
NNTP-Posting-Date: Fri, 28 Jan 2005 00:53:10 MET