commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Rall <...@finemaltcoding.com>
Subject Re: [VOTE] (re-vote) XxxUtils constructors
Date Wed, 21 Aug 2002 16:29:49 GMT
"Juozas Baliuka" <baliuka@mwm.lt> writes:

> ----- Original Message -----
> From: "Daniel Rall" <dlr@finemaltcoding.com>
> To: "Jakarta Commons Developers List" <commons-dev@jakarta.apache.org>
> Sent: Wednesday, August 21, 2002 10:16 AM
> Subject: Re: [VOTE] (re-vote) XxxUtils constructors
> 
> 
> > "Jack, Paul" <pjack@sfaf.org> writes:
> >
> > > 2.  The utility classes are marked as final.  Yay, no one
> > > can add instance methods or otherwise wreak havoc with the
> > > API.
> >
> > To state the obvious, no one could extend the class using Java's
> > "extends" keyword, either.  This is a downside, as it reduces the
> > usability of the class.
> 
> "final" doe's not reduces usability of static methods

It does in that you can no longer extend the class to tack on your own
utility methods, presenting a single class interface with low overhead.
-- 

Daniel Rall <dlr@finemaltcoding.com>

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message