commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Graham <grahamdavid1...@yahoo.com>
Subject RE: [io][vote] FileUtils: decision on style
Date Wed, 30 Jul 2003 17:39:26 GMT
--- "Hope, Matthew" <Matthew.Hope@capitalone.com> 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.

David


> 
> 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: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> 


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

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


Mime
View raw message