RE: FW: class Logger

-----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 UTC