commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Graham <>
Subject RE: [io][vote] FileUtils: decision on style
Date Wed, 30 Jul 2003 17:39:26 GMT
--- "Hope, Matthew" <> wrote:
> > There's at least one person in this discussion who needs to extend the
> > utils classes so it doesn't make sense to declare the classes 
> > final.  How
> > does it benefit anyone by declaring a reusable library 
> > class/method final?
> Preventing people who don't know what they are doing from making
> mistakes.

In my experience this is almost impossible.  Someone who thinks they can
subclass and override a static method needs to read a good Java book.  We
should design class libraries to be easy to use and *flexible*.  If that
flexibility hurts the newbie, so be it.


> This IS a benefit - whether or not it outweighs the benefit of allowing
> users to do what they want is a Jakarta-Commons ideology question...
> Matt
> The information transmitted herewith is sensitive information intended
> only
> for use by the individual or entity to which it is addressed. If the
> reader
> of this message is not the intended recipient, you are hereby notified
> that
> any review, retransmission, dissemination, distribution, copying or
> other
> use of, or taking of any action in reliance upon this information is
> strictly prohibited. If you have received this communication in error,
> please contact the sender and delete the material from your computer.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message