Re: Introspect whether setCharacterEncoding is present..

Nic Ferrier <[email protected]> 12 Oct 2004 17:49:40 +0100
Newsgroups gmane.comp.java.advanced-servlets
Message-ID <[email protected]>
Milt Epstein <[email protected]> writes:

> My impression is that the main reason for this rule/guideline is for
> the sake of code clarity and readability.  For example, one could
> iterate through an array using a while loop embedded in a try/catch
> looking for an ArrayIndexOutOfBounds exception, but a for loop using
> the length of the array is much clearer.
> 
> And if you think of it as just a guideline, then there are bound to be
> exceptions to it, such as when code will actually be clearer when you
> use an exception, or when there's no other way to do it.
> 

Absolutely. It seems to be a matter of opinion. Some people see
language features as things to be fetishistic about. I'm just happy to
use them.

But then I'm happy to give people an argument about why goto is not a
bad thing.


Nic


------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~-> 

Before posting a question, try to find your answer here: 
<http://www.egroups.com/links/advanced-servlets>
Announcements should go to: [email protected]
To Post a message, send it to: [email protected]
To Unsubscribe, send a blank message to: [email protected] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/advanced-servlets/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/