This question is regarding specifically the hash tag. This word has a heavily overloaded meaning for programming. The tag-wiki specifies the tag is only for the algorithmic method of fingerprinting large objects:
A hash function is any well-defined procedure or mathematical function that converts a large, possibly variable-sized amount of data into a small datum, usually a single integer that may serve as an index to an array (cf. associative array). The values returned by a hash function are called hash values, hash codes, hash sums, checksums or simply hashes.
However, there are many questions which use the tag in a different manner. Some examples:
- Twitter (and now Facebook) style hashtags: Pretty much everything tagged with both twitter and hash
- This crossover is currently down to just 30 questions, so someone has been cleaning it up. Whoever you are, if you're reading this, I salute you!
- Thanks to JAB for pointing out the hashtag tag, which is now up to 525 questions.
- URL/URI hash marks, relating to web browsers (aka fragment identifier) (~800 questions).
- Meanwhile, fragment-identifier only has ~175 questions. Thanks again to JAB for pointing this one out.
- As Cupcake and ThisSuitIsBlackNot point out, in Ruby and Perl, a hash refers to a hashtable or hashmap like data structure with the hash function abstracted away. These structures are also known as associative-array (s) or dictionary (ies), which have their own tags.
- Ruby x hash ~2200 questions
- Perl x hash ~1400 questions
- There is also the enigmatic hashes tag with no wiki. The questions seem to be a smattering of all the other meanings. I know of no other tag that has the singular and plural form both accepted. Should this tag be burninated?
- Many questions which are asking about cryptographic hash functions and should probably only include the cryptographichashfunction tag (which currently only has 30 questions).
- Most questions are only asking about cryptographic or non-cryptgraphic hash functions; rare is the question which is actively comparing or asking about the differences between the two classes of hash functions.
- MD5 x hash ~1300 questions
- SHA x hash ~680 questions, etc.
- This is admittedly the least objectionable tag collision, because a cryptographic hash function is essentially a beefed up, slower running hash function with mainly the same purpose. So let's focus on the fragment-identifier, hashtag and language-specific hashtable tag collisions.
Have there been any efforts in the past to clean up the hash tag? Are there other tags for the URL post-octothorpe fragment identifier and social-media hashtags? Or is the best course of action to update the hash tag-wiki to make it clear that it is overloaded?
No one has pointed out any clean-up efforts on the root hash tag. I also just tried to edit a question to create the suggested cryptographic-hash-function tag and discovered why it doesn't exist: it is 28 characters long and the maximum allowed length is (currently) 25 characters which the cryptographichashfunciton barely fits. I understand dash separation is the preferred method; is there a way to get special dispensation for long tags?
Personally, I would favor making clear, separate tags for for the other meanings of hash. We seem to already have appropriate tags for most of these cases, but the waters are still very muddy.
To accomplish this, I think the clearest way forward would be to deprecate the hash tag and disallow new questions from using the tag. Instead, the user would have to select from one of the other suggested tags, which would have to include hashtag, fragment-identifier, hashtable (and/or hashmap, associative-array, dictionary - it would be great if this were language aware), hash-function and cryptographichashfunction.
Is this possible? Or would it require new code to deprecate a tag in this way?
:P
array
or Ruby'shash
is a more egregious naming violation.)