[thelist] more OOD fun

Scott Dexter dexilalolai at yahoo.com
Mon Oct 11 14:32:44 CDT 2004

big fat Duh. Forgot interfaces are extendable.

That helps in a big way.

I'm trying to type by interface where I can, because that (unless I
horribly misunderstood something) allows the decoupling desired, so I
can flippy-flop implementations of the objects underneath without
having to tweak the application logic. I thought I could get away
with one interface, but duh, that's silly :)

(and I never said I was always moving forward ;) )

--- Matt Warden <mwarden at gmail.com> wrote:

> Scott,
> On Mon, 11 Oct 2004 11:44:38 -0700 (PDT), Scott Dexter
> interface Student extends Person
> {
> ...
> }

> Because the method is specific to Guest objects. If you want to do
> things the "best" way, you should have a Guest interface that
> extends
> the Person interface.

> Yeah, Mr. Started-Programming-When-I-Was-Nine.

More information about the thelist mailing list