3 ms·
Is it just me or is anyone else annoyed about Ruby people calling their hash table based dictionaries a "hash"? As a non-Ruby programmer, I always get confused
by exDM69 14y ago
Is it just me or is anyone else annoyed about Ruby people calling their hash table based dictionaries a "hash"? As a non-Ruby programmer, I always get confused when people talk about hashes and you can never be quite sure if it's a dictionary or an integer hash value.
- pwmanagerdied 14y agoRuby's influenced by Perl which has been using that name forever.
- keymone 14y agofrom http://en.wikipedia.org/wiki/Hash http://en.wikipedia.org/wiki/Hash Hash may refer to: http://en.wikipedia.org/wiki/Hash_table http://en.wikipedia.org/wiki/Hash_table i'm sure it's not just you though, people get annoyed over whole bunch of things
- exDM69 14y agoI first started hearing the word used that way about at the same time as Ruby started becoming more popular.
- regularfry 14y agoThey use the same name in Perl. I presume that's where Ruby got it from.