We have both hash-map and hash-table in the system. I have been trying to keep from having language-specific constructs in the tags.
Not sure how this one slipped through... again.
I propose creating a synonym from hash-map to hash-table. This is better than burnination because new questions cannot recreate the tag.
Similarly, dictionary -> hash-table
-
1\$\begingroup\$ How is this status-completed? Still two different tags, no synonym. I've just updated the hash-map tag wiki (since this one has the most questions belonging to it) so that this merge can be done. \$\endgroup\$Toby Speight– Toby Speight2021年02月04日 17:15:52 +00:00Commented Feb 4, 2021 at 17:15
-
1\$\begingroup\$ [dictionary] still exists too. \$\endgroup\$RubberDuck– RubberDuck2021年02月04日 20:43:15 +00:00Commented Feb 4, 2021 at 20:43
3 Answers 3
I say do it. Wikipedia considers them the same thing and as far as I know, they are.
However, there might be a bit of confusion for any Java developers and that might be a drawback. Apparently both exists as separate entities, so we'll need to be prepared to explain that tags such as these are not language specific.
-
3\$\begingroup\$ A good tag wiki should solve the Java particularity! \$\endgroup\$Marc-Andre– Marc-Andre2014年10月24日 19:15:06 +00:00Commented Oct 24, 2014 at 19:15
-
\$\begingroup\$ Java
Hashtable
is an old crap, it doesn't really count. AFAIK there's no reason to use it, ever (its synchronization is rarely useful and if so, then there'sCollections.synchronizedMap
). I guess, there are many people not knowing that it exists (and that's a good thing). \$\endgroup\$maaartinus– maaartinus2015年07月04日 18:38:55 +00:00Commented Jul 4, 2015 at 18:38
This needs moderator intervention
This is because hash-set -> hash-table exists.
And since map -> hash-map exists, we can't synonym hash-map -> hash-table/dictionary either.
-
2\$\begingroup\$ and ..... Done! \$\endgroup\$2021年02月19日 00:35:56 +00:00Commented Feb 19, 2021 at 0:35
Yes, let's merge these - probably into hash-map, as that's the one with most questions (by only a small margin).
I've copied the useful stuff from hash-table into it in readiness for the merge.
Definitely yes to the synonym once it's done.
(I don't understand why this question is status-completed; did it somehow get discompleted in the intervening years?)
You must log in to answer this question.
Explore related questions
See similar questions with these tags.