|
|
|
|
|
by HelloNurse
1512 days ago
|
|
A hash table that compares hashes instead of keys, doesn't support deletion, doesn't distribute keys evenly etc. is not even wrong; criticizing it is definitely not "crap for daring to exist", especially in the polite tone of the linked article. If Hare is intended to be a deliberately Spartan C replacement, so be it; but pretending that writing a hash table is easy looks like the immature and arrogant opinion of someone completely unaware of his ignorance. |
|
I agree, that implementation is definitely flawed. Probably the author do not consider that important a proper hashtable.
> looks like the immature and arrogant opinion of someone completely unaware of his ignorance.
This is what I'm referring to when I say "harsh" criticism. Maybe he is wrong, but I think there are better ways of saying it: "Hey, maybe a proper hashtable is not that easy.. have you consider [insert here improvement proposal]?"