W3C home > Mailing lists > Public > www-jigsaw@w3.org > September to October 1999

RE: FW: class Logger

From: Ingmar Krusch <nacht@novedia.de>
Date: Tue, 26 Oct 1999 10:42:44 +0200
To: "Jigsaw Mailingliste" <www-jigsaw@w3.org>
Message-ID: <000901bf1f8e$12421140$122aa8c0@eagle.novedia.de>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hoi

> > I'm currently examining the classes Logger and CommonLogger. The
> > documentation says that: "The Logger class is the abstract class
> > that loggers must implement". I'm wondering why Logger is an
> > abstract class and not an Interface?! What's the actual benefit
> > for the Jigsaw design? 
> 
> Usually, we are using interfaces for when it can be implemented in
> many classes. A logger will always be a subclass of "Logger" hence
> the abstract class.  

Yes, that's the technical reasoning. But is there any actual benefit?
Does it actually make your life easier coding jigsaw if it IS-A
Logger?

See, I'm just curious.

Ingmar

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.1 for non-commercial use <http://www.pgp.com>

iQA/AwUBOBVbdLKzgXyc3RmAEQK3nwCg4dai1uXU5vX3nvRley/eieRj54gAoIvU
LS3RcxJLTkW4goHn+3dSCY8t
=YFTt
-----END PGP SIGNATURE-----


Received on Tuesday, 26 October 1999 04:43:34 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:33 GMT