12

The <{([])}> tag has

Brackets are tall punctuation marks used in matched pairs within text, to set apart or interject other text. They have a variety of meanings in different programming languages. DO NOT USE THIS for the IDE, use [adobe-brackets] instead.

Brackets are tall punctuation marks used in matched pairs within text, to set apart or interject other text. They have a variety of meanings in different programming languages.

Assume we want to keep this tag, what kind of brackets are they supposed to be used for? {}? ()? The []? The <>? Anything else?

8
  • 21
    Why do we even have any of these tags in the first place?
    – 4castle
    Mar 8, 2017 at 22:30
  • 9
    @4castle maybe because punctuation is hard to search for. Mar 8, 2017 at 22:36
  • 2
    At first I thought this tag had confused itself for Brackets, but after realizing that adobe-brackets was a thing, I'm not thinking that anymore. I don't know if it'd be a good idea to get rid of those tags, but I can't really find any rationale to leave them in place, either.
    – Makoto
    Mar 8, 2017 at 22:43
  • 1
    I can see using the tag for "what does this syntax do" type questions, but it looks like these tags are being misused a lot. I think I'm going to do some minor cleanup.
    – 4castle
    Mar 8, 2017 at 22:48
  • My minor cleanup ended up being more major than I expected. I just finished re-tagging about 140 questions (90% of which were to use [adobe-brackets] instead).
    – 4castle
    Mar 9, 2017 at 4:37
  • 3
    I'm with @4castle, I think there's a very large number of completely useless tags. Are there seriously people who are particularly interested in questions relating to [while-loop]s? Is anyone aided by knowing that a question relates to which thing is the [closest]? Do we really need a tag that lets us know a question concerns how to [compare] two entities? Mar 9, 2017 at 4:53
  • And don't get me started on all the tags relating to specific jQuery functions... Mar 9, 2017 at 4:54
  • I picked Duke for my bracket. Er, wait...
    – Machavity Mod
    Mar 9, 2017 at 18:13

1 Answer 1

12

Definition from Merriam-Webster:

Bracket

a : one of a pair of marks [ ] used in writing and printing to enclose matter or in mathematics and logic as signs of aggregation —called also square bracket
b : one of the pair of marks < > used to enclose matter —called also angle bracket
c : parenthesis
d : brace

From looking at the questions, all of these [] () {} <> are on-topic for . While people may disagree on what these symbols are called, all of these are called brackets by a significant amount of people, so it's still searchable.

Some common GOOD reasons to use the tag might be:

  1. What does this syntax mean?

  2. How do I parse strings with balanced delimiters?

  3. Why does adding brackets to this code produce different results?

Some common BAD reasons to use the tag are for questions like:

  1. How do I use the Adobe Brackets IDE? (use )

  2. Any question about quotation marks " or ', because nobody calls them brackets, and that's not a helpful keyword. (perhaps use instead)

  3. Any question which happens to use a bracket somewhere in the code, but it's not the subject of the question.

  4. How much more money can I make while staying in the same tax bracket?


Do we need the tag?

I don't think we need the tag, but it doesn't seem to be hurting. For the most part, people use it responsibly, and not as a meta-tag. It's purpose is primarily to increase searchability for a defined class of questions. It's not really a tag people would favorite/follow, and it wouldn't work as the only tag on a question.

14
  • 1
    I think the last two points in your "Do we need the tag" section are useless for evaluating whether a tag should exist or not
    – user4639281
    Mar 9, 2017 at 0:44
  • @TinyGiant I agree, that's mostly just there to acknowledge that the tag isn't quite the same as other tags out there.
    – 4castle
    Mar 9, 2017 at 0:48
  • I agree with your agreeing with me.
    – user4639281
    Mar 9, 2017 at 0:49
  • 9
    @TinyGiant I agree with your agreeing with him agreeing with you. Mar 9, 2017 at 18:06
  • 7
    It's delightful to see everyone in agreement.
    – webnoob
    Mar 9, 2017 at 18:13
  • 3
    @webnoob I disagree... someone has to.
    – Braiam
    Mar 9, 2017 at 19:04
  • 3
    @Braiam - I disagree with you - there is never a need for someone to disagree
    – YowE3K
    Mar 10, 2017 at 0:49
  • 4
    @YowE3K - I'm in full agreement with your disagreement of Braiam's disagreement with my agreeing to all the agreements ...
    – webnoob
    Mar 10, 2017 at 11:14
  • I wouldn't pay any attention to M-W, ever since they defined "literally" as "figuratively" Mar 11, 2017 at 16:41
  • @JanDvorak Why is that a problem with the dictionary? That's a correct definition according to modern usage (although it's more like slang)
    – 4castle
    Mar 11, 2017 at 16:47
  • If that's the case, they should also define it's as its and vice versa, synonymize their/they're, note that "alot" isn't just a furry animal but could also mean "a lot" and rarely even "allot"... At least that would be a bit useful in decoding some of the more egregious typos. Mar 11, 2017 at 16:50
  • @JanDvorak I don't seem to understand your argument. "Literally" in place of "figuratively" isn't a typo, it's a rhetorical device called overstatement.
    – 4castle
    Mar 11, 2017 at 16:58
  • It's not an overstatement, it's an abuse of a word whose purpose is to denote "not figuratively" Mar 11, 2017 at 16:59
  • @JanDvorak That's kind of the point of making an overstatement, but okay.
    – 4castle
    Mar 11, 2017 at 17:01

You must log in to answer this question.

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