← Back to context

Comment by klodolph

1 year ago

I would rather not:

- It involves making too many decisions on behalf of users. C++ dodges the question somewhat by making hash tables templated, so you can customize them.

- There are a hojillion hash table libraries out there which are written in C—just pick one and use it.

The latter point is a very strong argument for a hash table implementation in the standard library.

  • I don’t see how that argument follows.

    • If everyone is reinventing the same wheel, then...

      Furthermore, those wheels aren't necessarily interoperable the way something built into the standard library would be; it's not just a convenience.