commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Colebourne" <scolebou...@btopenworld.com>
Subject Re: [lang] HashCodeUtils [was 1.0 release foci]
Date Thu, 15 Aug 2002 22:44:51 GMT
HashCodeUtils has now become HashCodeBuilder. And its much better as a
result, thanks Daniel.

Stephen


----- Original Message -----
From: "Daniel Rall" <dlr@finemaltcoding.com>
To: "Jakarta Commons Developers List" <commons-dev@jakarta.apache.org>
Sent: Thursday, August 15, 2002 12:25 AM
Subject: Re: [lang] HashCodeUtils [was 1.0 release foci]


> "Stephen Colebourne" <scolebourne@btopenworld.com> writes:
>
> > From: "Daniel Rall" <dlr@finemaltcoding.com>
> > > "Stephen Colebourne" <scolebourne@btopenworld.com> writes:
> > >
> > > > From: "Daniel Rall" <dlr@finemaltcoding.com>
> > > > > Henri Yandell <bayard@generationjava.com> writes:
> > > > >
> > > > > > 3) HashCodeUtils. Stephen just submitted this class. Opinions
> > desired.
> > > > My
> > > > > > only one is whether developers are happy for us to make
decisions
> > for
> > > > > > them, like using 37 as the 'random primary number'. Hopefully
> > therre's
> > > > no
> > > > > > use case for a developer needing control over that.
> > > > >
> > > > > I was a bit put off by being "stuck" with 37 myself.
> > > >
> > > > The only solution I can think of is to pass the value in as another
> > > > argument, but that seems kinda messy.
> > >
> > > A good use case for a true object, rather than a collection of utility
> > > methods.
> >
> > Of course - HashCodeBuilder. But should we offer both HashCodeUtils and
> > HashCodeBuilder??
>
> I would prefer to have just one; it keeps the API narrower, which
> generally greatly increases usability.
> --
>
> 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>
>


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