3 ms·
> Not sure about other people here but I haven't heard any developers I work with avoid hash tables for reasons like this. I've found there's a vast difference
by falcolas 10y ago
> Not sure about other people here but I haven't heard any developers I work with avoid hash tables for reasons like this.
I've found there's a vast difference with many engineers between their willingness to use a structure called a "Hash Table" as compared to a Python/Swift "Dictionary", JavaScript "Object", or Go "Map".
Yes, they're all hash tables underneath, but so few people actually ever make that connection consciously. Hash tables have a lot of baggage from our CS classes, and their O(n) is foremost on people's minds when thinking about them. Objects, on the other hand, are so ubiquitous and programmer friendly that you just use them without thinking that they are a hash table, and what that means.