The review of std.hash package

Jonathan M Davis jmdavisProg at gmx.com
Wed Aug 8 13:34:52 PDT 2012


On Wednesday, August 08, 2012 18:47:34 Johannes Pfau wrote:
> Am Wed, 8 Aug 2012 14:16:40 +0000 (UTC)
> 
> schrieb travert at phare.normalesup.org (Christophe Travert):
> > If it where me, I would have the presently reviewed module
> > std.hash.hash be called std.hash.digest, and leave room here for
> > regular hash functions. In any case, I think regular hash HAVE to be
> > in a std.hash module or package, because people looking for a regular
> > hash function will look here first.
> 
> std.hash.digest doesn't sound too bad. We could have std.hash.func (or
> a better named module ;-) for general hash functions later.

I say just keep at simple and leave it at std.hash. It's plenty clear IMHO.

- Jonathan M Davis


More information about the Digitalmars-d mailing list