🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.java
Article #287

Re: Multiple interfaces

#287
From: Russell Dodd
Date: Tue, 18 Jun 2002 10:46
31 lines
2273 bytes
"Tristan Reeves" <moonshine@apex.net.au> wrote in message
news:1024391253.156369@web.apex.net.au...
>
> "Jeff Dillon" <jeff@jeffdillon.com> wrote in message
> news:EzxP8.238919$cQ3.10063@sccrnsc01...
> > 1) If you are implementing more than a few interfaces in one class you
are
> > probably doing too much in one class and probably have poor design.
>
> What about TWO interfaces?

I find in very rare to have to implement even two interfaces within the same
class. As Jeff said - it's very possible you are trying to do too much in
one class. Good OO design usually implies high cohesion.

>
> > 2) If you have this problem you also have a poor naming convention.
> >
> > Jeff Dillon
>
> Crap.
> As I have said repeatedly, they may not be *your* interfaces.
>


Can you give us actual examples of the problems you are having, rather than
just generalising ? (Seriously - I am interested in seeing these name
clashes and thinking about possible solutions).

Rus.
Technical Details
Message-ID: <1024397222.27025.0.nnrp-10.c3ad556a@news.demon.co.uk>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!kibo.news.demon.net!news.demon.co.uk!demon![195.173.85.106]!not-for-mail
References: <1024283082.192985@web.apex.net.au> <EzxP8.238919$cQ3.10063@sccrnsc01> <1024391253.156369@web.apex.net.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10a146,113f3357bc588129
X-Google-Attributes: gid10a146,public
X-Google-Thread: 10d6db,113f3357bc588129
X-Google-Attributes: gid10d6db,public
X-Google-Thread: f74b3,113f3357bc588129
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2002-06-18 03:48:02 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!kibo.news.demon.net!news.demon.co.uk!demon![195.173.85.106]!not-for-mail
From: "Russell Dodd" <rdodd@alterian.com>
Newsgroups: aus.computers.java,borland.public.jbuilder.java.language,comp.lang.java.programmer
Subject: Re: Multiple interfaces
Date: Tue, 18 Jun 2002 11:46:56 +0100
Message-ID: <1024397222.27025.0.nnrp-10.c3ad556a@news.demon.co.uk>
References: <1024283082.192985@web.apex.net.au> <EzxP8.238919$cQ3.10063@sccrnsc01> <1024391253.156369@web.apex.net.au>
NNTP-Posting-Host: [195.173.85.106]
X-NNTP-Posting-Host: [195.173.85.106]:195.173.85.106
X-Trace: news.demon.co.uk 1024397222 nnrp-10:27025 NO-IDENT [195.173.85.106]:195.173.85.106
X-Complaints-To: abuse@demon.net
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Lines: 33