commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Cooper" <martin.coo...@tumbleweed.com>
Subject RE: DBCP/LANG
Date Sun, 11 Aug 2002 21:24:23 GMT


> -----Original Message-----
> From: Henri Yandell [mailto:bayard@generationjava.com]
> Sent: Sunday, August 11, 2002 1:46 PM
> To: Jakarta Commons Developers List
> Subject: Re: DBCP/LANG
> 
> 
> 
> 
> > >
> > > So a Commons version has theoretical importance, even if 
> developers won't
> > > want to extend things very often. I've towed a line 
> similar to yours on
> > > extension/interfaces/frameworks, but have felt that very 
> simple cases such
> > > as NestException and Enum were workable.
> >
> > Again, I don't know what Enum means - I know Enumeration 
> and Iterator, and
> > also ResultSet. Is there anything wrong with one of those ?
> 
> Sorry, my misunderstanding. As Ola pointed out [rather 
> cryptically] the
> Enum is from the C meaning and not the Enumeration Java meaning. An
> ordered set of constant values.

Not necessarily ordered. An Enum of colours, for example, in most cases
would not have a defined ordering.

> They seem to be a feature often grumbled about not being in 
> Java and often
> recreated by coders in Java, so a useful Commons feature.

Definitely. The key reason that people create these, I believe, is type
safety (which is not one of the features of C enums).

--
Martin Cooper


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



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