33

There was apparently a time when tags were limited to 25 characters, but that limit appears to have been lifted.

Tag length limit may be limiting technology discoverability exhibits the old limit, but e.g. the Stack Overflow Data Explorer query help sidebar reveals that this is now

Field Type
TagName nvarchar (35)

Browsing this tag reveals that this is apparently an IOS gesture; there are related tags (which has a tag description with some documentation and links) and the base class (?)

It is unclear to me whether these individual subclass tags are really necessary; perhaps they should all be merged as synonyms with the superclass?

In fact, the uigesturerecognizer tag's synonyms tab already contains synonym proposals for the following to be merged as synonyms of that tag:

I would suppose these should also be nominated:

I don't have enough rep in these tags to do anything about it, but someone who is familiar with the topic will probably have the required 5 rep to propose the synonym(s).

20
  • 7
    Props to @oguzismail for uncovering this.
    – tripleee
    Commented Jun 17, 2021 at 6:07
  • 7
    ... and to @rene for explaining the tag length limits.
    – tripleee
    Commented Jun 17, 2021 at 6:08
  • 8
    Yeah, I think they should all be merged as synonyms with the superclass. Commented Jun 17, 2021 at 6:11
  • 12
    Just one more tag: containerfortagsthathaveanametoolon Commented Jun 17, 2021 at 7:14
  • 40
    Can't we get rid of such ridiculous tags altogether?
    – usr1234567
    Commented Jun 17, 2021 at 8:41
  • 4
    @usr1234567 The synonyms are one concrete way to accomplish that. Removing a tag only gets rid of it until somebody gets the bright idea to recreate it because it seems to be missing. A synonym fixes that (for some value of "fix" and "that") by redirecting to the canonical tag and preventing tag revival.
    – tripleee
    Commented Jun 17, 2021 at 8:45
  • 5
    @usr1234567 Can you explain what makes these tags "ridiculous"? It is useful to have tags that relate to key technology used in the question, including individual classes/components.
    – Cody Gray Mod
    Commented Jun 17, 2021 at 9:58
  • 4
    @tripleee or we just say that function/class tags makes no sense and apply that generally. That way it "doesn't look" like it's missing because there's no tags about a single function/class. :)
    – Braiam
    Commented Jun 17, 2021 at 10:42
  • 5
    Truly we live in the future when tags can be more than 25 characters long. Commented Jun 17, 2021 at 10:51
  • 1
    Luckily for us, they can't create tags on a whim. But we have to teach them yesterday about that. :)
    – Braiam
    Commented Jun 17, 2021 at 11:23
  • 6
    @CodyGray They are difficult to read and are super specific. pangesture, pinchgesture - ok. Not these monsters. You are not talking about Java classes, but tags.
    – usr1234567
    Commented Jun 17, 2021 at 12:55
  • 12
    Other tags with the same problem include mediabrowserservicecompat, continuation-local-storag, constrained-execution-reg, azure-app-service-envrmnt, pfquerytableviewcontrolle, ckfetchrecordchangesopera, gml-geographic-markup-lan, uiprintinteractioncntrler, gradle-android-test-plugi, sql-server-migration-assi, uimodalpresentationformsh, multiple-interface-implem, unauthorizedaccessexcepti, validation-application-bl, stringbyevaluatingjavascr and visual-studio-setup-proje. There are probably plenty more that are missing some punctuation. Commented Jun 17, 2021 at 18:17
  • 4
    The name of the 25-character tag appears to make no sense (apart from existing because of the arbitrary 25-character limit). So I don't see a reason to believe anyone would ever try to recreate it. Simply renaming or merging the tag makes more sense than adding a synonym. Commented Jun 17, 2021 at 18:19
  • 1
    @tripleee Are you advocating new tags that use as many characters as needed without being the previously-truncated versions (meh), replacing those tags with the untruncated versions (ok), or are you asking for all the ui*gesturerecognizer tags to be collapsed to uigesturerecognizer (yay!)? Commented Jun 17, 2021 at 20:05
  • 4
    Ironic that the tag name has "long" in it. Commented Jun 17, 2021 at 23:14

1 Answer 1

6

Individual classes should not have dedicated tags. Full stop. Such tags make finding information more difficult by fragmenting it and drastically increasing the number of tags to consider. It furthermore makes it more difficult for developers with the relevant expertise to find the question (since they'll have to follow gobs and gobs of tags to be shown the question); in practice, this means that questions using such tags will attract less attention from those most able to answer them. A question about such a class may not even use the class in the best answer; another approach using a different portion of the API may be better. As such, it is far better for tags to be more general. If someone is looking for information about a specific class, that need only be a search term, not a tag in their search.

These should be merged into whatever overarching API they're part of.

5
  • 1
    So is this a vote in favor of making all the individual tags into synonyms of uigesturerecognizer? Or do you want to take it even further?
    – tripleee
    Commented Jun 20, 2021 at 16:10
  • @tripleee I believe the last sentence of my answer makes the course of action I'm suggesting clear.
    – jpmc26
    Commented Jun 20, 2021 at 16:25
  • 1
    No, it's not; that's why I'm requesting a clarification. Do you mean to say there is an "overarching API" which they all should be merged into?
    – tripleee
    Commented Jun 20, 2021 at 16:40
  • 1
    @tripleee I don't know what API this class comes from. Is it in a library? Part of the language's standard lib? Part of a well known module or namespace within the standard lib or a large library? Whatever it's a part of, it can be tagged with that. Obviously, if individual classes are too fine grained a level for tags, then whatever higher level grouping the class belongs to is the tag to use.
    – jpmc26
    Commented Jun 20, 2021 at 19:50
  • 2
    @tripleee I would guess that the uikit framework would be appropriate for this specific set of examples: developer.apple.com/documentation/uikit/uigesturerecognizer. A framework is an appropriate level of expertise for a tag. Some frameworks are large enough to justify tags for specific parts of them, but definitely not down to individual classes.
    – jpmc26
    Commented Jun 20, 2021 at 19:56

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .